Skip to content

Commit a5ce0fc

Browse files
committed
Remove webhook server
Now that controller-runtime is able to configure CipherSuites we no longer need the webhook server. This change remove the custom server but keeps the pair of functions to map tls versions and cipher suites, it also bumps controller-runtime to 0.13.1 wich is the minimal that allow configuring cipher suites. Signed-off-by: Enrique Llorente <[email protected]>
1 parent 6aa4c8f commit a5ce0fc

File tree

8 files changed

+190
-1197
lines changed

8 files changed

+190
-1197
lines changed

go.mod

Lines changed: 37 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,66 +3,69 @@ module github.com/qinqon/kube-admission-webhook
33
go 1.19
44

55
require (
6-
github.com/github-release/github-release v0.10.0
7-
github.com/go-logr/logr v1.2.0
6+
github.com/go-logr/logr v1.2.3
87
github.com/onsi/ginkgo v1.16.5
9-
github.com/onsi/gomega v1.17.0
10-
github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
8+
github.com/onsi/gomega v1.19.0
119
github.com/pkg/errors v0.9.1
12-
k8s.io/api v0.23.4
13-
k8s.io/apimachinery v0.23.4
14-
k8s.io/client-go v0.23.4
10+
k8s.io/api v0.25.0
11+
k8s.io/apimachinery v0.25.0
12+
k8s.io/client-go v0.25.0
1513
k8s.io/klog v1.0.0
16-
sigs.k8s.io/controller-runtime v0.11.1
14+
sigs.k8s.io/controller-runtime v0.13.1
1715
)
1816

1917
require (
18+
github.com/PuerkitoBio/purell v1.1.1 // indirect
19+
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
2020
github.com/beorn7/perks v1.0.1 // indirect
21-
github.com/cespare/xxhash/v2 v2.1.1 // indirect
21+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
2222
github.com/davecgh/go-spew v1.1.1 // indirect
23-
github.com/dustin/go-humanize v1.0.0 // indirect
24-
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
25-
github.com/fsnotify/fsnotify v1.5.1 // indirect
23+
github.com/emicklei/go-restful/v3 v3.8.0 // indirect
24+
github.com/evanphx/json-patch/v5 v5.6.0 // indirect
25+
github.com/fsnotify/fsnotify v1.5.4 // indirect
26+
github.com/go-openapi/jsonpointer v0.19.5 // indirect
27+
github.com/go-openapi/jsonreference v0.19.5 // indirect
28+
github.com/go-openapi/swag v0.19.14 // indirect
2629
github.com/gogo/protobuf v1.3.2 // indirect
2730
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
2831
github.com/golang/protobuf v1.5.2 // indirect
29-
github.com/google/go-cmp v0.5.5 // indirect
32+
github.com/google/gnostic v0.5.7-v3refs // indirect
33+
github.com/google/go-cmp v0.5.8 // indirect
3034
github.com/google/gofuzz v1.1.0 // indirect
3135
github.com/google/uuid v1.1.2 // indirect
32-
github.com/googleapis/gnostic v0.5.5 // indirect
3336
github.com/imdario/mergo v0.3.12 // indirect
37+
github.com/josharian/intern v1.0.0 // indirect
3438
github.com/json-iterator/go v1.1.12 // indirect
35-
github.com/kevinburke/rest v0.0.0-20210222204520-f7a2e216372f // indirect
39+
github.com/mailru/easyjson v0.7.6 // indirect
3640
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
3741
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
3842
github.com/modern-go/reflect2 v1.0.2 // indirect
43+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
3944
github.com/nxadm/tail v1.4.8 // indirect
40-
github.com/prometheus/client_golang v1.11.0 // indirect
45+
github.com/prometheus/client_golang v1.12.2 // indirect
4146
github.com/prometheus/client_model v0.2.0 // indirect
42-
github.com/prometheus/common v0.28.0 // indirect
43-
github.com/prometheus/procfs v0.6.0 // indirect
47+
github.com/prometheus/common v0.32.1 // indirect
48+
github.com/prometheus/procfs v0.7.3 // indirect
4449
github.com/spf13/pflag v1.0.5 // indirect
45-
github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 // indirect
46-
github.com/voxelbrain/goptions v0.0.0-20180630082107-58cddc247ea2 // indirect
47-
golang.org/x/net v0.0.0-20211209124913-491a49abca63 // indirect
48-
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
49-
golang.org/x/sys v0.0.0-20211029165221-6e7872819dc8 // indirect
50-
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
50+
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
51+
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
52+
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
53+
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
5154
golang.org/x/text v0.3.7 // indirect
52-
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
55+
golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect
5356
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
5457
google.golang.org/appengine v1.6.7 // indirect
55-
google.golang.org/protobuf v1.27.1 // indirect
58+
google.golang.org/protobuf v1.28.0 // indirect
5659
gopkg.in/inf.v0 v0.9.1 // indirect
5760
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
5861
gopkg.in/yaml.v2 v2.4.0 // indirect
59-
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
60-
k8s.io/apiextensions-apiserver v0.23.0 // indirect
61-
k8s.io/component-base v0.23.0 // indirect
62-
k8s.io/klog/v2 v2.30.0 // indirect
63-
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect
64-
k8s.io/utils v0.0.0-20211116205334-6203023598ed // indirect
65-
sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 // indirect
66-
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
62+
gopkg.in/yaml.v3 v3.0.1 // indirect
63+
k8s.io/apiextensions-apiserver v0.25.0 // indirect
64+
k8s.io/component-base v0.25.0 // indirect
65+
k8s.io/klog/v2 v2.70.1 // indirect
66+
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect
67+
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed // indirect
68+
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
69+
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
6770
sigs.k8s.io/yaml v1.3.0 // indirect
6871
)

0 commit comments

Comments
 (0)