Skip to content

Commit 1594313

Browse files
committed
Update to go 1.17 and support v1 webhook requirements
1 parent d3be97d commit 1594313

File tree

5 files changed

+485
-156
lines changed

5 files changed

+485
-156
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.15.0 as builder
1+
FROM golang:1.17.3-stretch as builder
22

33
RUN useradd -u 10001 safeguard
44

go.mod

+31-25
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,37 @@
11
module github.com/jw-s/safeguard
22

3-
go 1.15
3+
go 1.17
44

55
require (
6-
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680
7-
github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d
8-
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
9-
github.com/golang/protobuf v1.3.2
10-
github.com/google/gofuzz v1.0.0
11-
github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d
12-
github.com/gorilla/mux v1.6.2
13-
github.com/json-iterator/go v1.1.8
14-
github.com/spf13/cobra v0.0.0-20180319062004-c439c4fa0937
15-
github.com/spf13/pflag v1.0.5
16-
golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586
17-
golang.org/x/net v0.0.0-20191004110552-13f9640d40b9
18-
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect
19-
golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456
20-
golang.org/x/text v0.3.2
21-
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
22-
gopkg.in/inf.v0 v0.9.1
23-
gopkg.in/yaml.v2 v2.2.4
24-
k8s.io/api v0.17.0
25-
k8s.io/apimachinery v0.17.0
26-
k8s.io/apiserver v0.0.0-20180327025904-5ae41ac86efd
27-
k8s.io/client-go v0.17.0
28-
k8s.io/code-generator v0.0.0-20180228050103-7ead8f38b01c
6+
github.com/gorilla/mux v1.8.0
7+
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
8+
k8s.io/api v0.22.4
9+
k8s.io/apimachinery v0.22.4
10+
k8s.io/client-go v0.22.4
2911
k8s.io/klog v1.0.0
30-
k8s.io/utils v0.0.0-20200821003339-5e75c0163111 // indirect
12+
k8s.io/utils v0.0.0-20211116205334-6203023598ed // indirect
13+
)
14+
15+
require (
16+
github.com/davecgh/go-spew v1.1.1 // indirect
17+
github.com/go-logr/logr v1.2.0 // indirect
18+
github.com/gogo/protobuf v1.3.2 // indirect
19+
github.com/golang/protobuf v1.5.2 // indirect
20+
github.com/google/go-cmp v0.5.6 // indirect
21+
github.com/google/gofuzz v1.2.0 // indirect
22+
github.com/json-iterator/go v1.1.12 // indirect
23+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
24+
github.com/modern-go/reflect2 v1.0.2 // indirect
25+
golang.org/x/net v0.0.0-20211123203042-d83791d6bcd9 // indirect
26+
golang.org/x/sys v0.0.0-20211124211545-fe61309f8881 // indirect
27+
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
28+
golang.org/x/text v0.3.7 // indirect
29+
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
30+
google.golang.org/appengine v1.6.7 // indirect
31+
google.golang.org/protobuf v1.27.1 // indirect
32+
gopkg.in/inf.v0 v0.9.1 // indirect
33+
gopkg.in/yaml.v2 v2.4.0 // indirect
34+
k8s.io/klog/v2 v2.30.0 // indirect
35+
sigs.k8s.io/structured-merge-diff/v4 v4.2.0 // indirect
36+
sigs.k8s.io/yaml v1.3.0 // indirect
3137
)

0 commit comments

Comments
 (0)