File tree Expand file tree Collapse file tree 4 files changed +18
-11
lines changed
testdata/hybrid/memcached-operator/config Expand file tree Collapse file tree 4 files changed +18
-11
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ require (
28
28
k8s.io/kubectl v0.24.0
29
29
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9
30
30
sigs.k8s.io/controller-runtime v0.12.1
31
- sigs.k8s.io/kubebuilder/v3 v3.0.0-alpha.0.0.20220608134342-eea565cb3f50
31
+ sigs.k8s.io/kubebuilder/v3 v3.0.0-alpha.0.0.20220613172611-57aed3f94a44
32
32
sigs.k8s.io/yaml v1.3.0
33
33
)
34
34
Original file line number Diff line number Diff line change @@ -1560,8 +1560,8 @@ sigs.k8s.io/controller-tools v0.9.0 h1:b/vSEPpA8hiMiyzDfLbZdCn3hoAcy3/868OHhYtHY
1560
1560
sigs.k8s.io/controller-tools v0.9.0 /go.mod h1:NUkn8FTV3Sad3wWpSK7dt/145qfuQ8CKJV6j4jHC5rM =
1561
1561
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 h1:kDi4JBNAsJWfz1aEXhO8Jg87JJaPNLh5tIzYHgStQ9Y =
1562
1562
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 /go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY =
1563
- sigs.k8s.io/kubebuilder/v3 v3.0.0-alpha.0.0.20220608134342-eea565cb3f50 h1:yPiqoNv2s1zA0BV/+ztL24M4PrnMl9BA8jksK9Ju344 =
1564
- sigs.k8s.io/kubebuilder/v3 v3.0.0-alpha.0.0.20220608134342-eea565cb3f50 /go.mod h1:2o0wAP/Qi4vLA5tlmKOCTZdWUlkdewvkNi3o5Ko6eSw =
1563
+ sigs.k8s.io/kubebuilder/v3 v3.0.0-alpha.0.0.20220613172611-57aed3f94a44 h1:CiPMwc2kXKdu3PZalDa28e7S4ClLsgEDmlHWQWYC1OE =
1564
+ sigs.k8s.io/kubebuilder/v3 v3.0.0-alpha.0.0.20220613172611-57aed3f94a44 /go.mod h1:2o0wAP/Qi4vLA5tlmKOCTZdWUlkdewvkNi3o5Ko6eSw =
1565
1565
sigs.k8s.io/kustomize/api v0.11.4 h1:/0Mr3kfBBNcNPOW5Qwk/3eb8zkswCwnqQxxKtmrTkRo =
1566
1566
sigs.k8s.io/kustomize/api v0.11.4 /go.mod h1:k+8RsqYbgpkIrJ4p9jcdPqe8DprLxFUUO0yNOq8C+xI =
1567
1567
sigs.k8s.io/kustomize/cmd/config v0.10.6 /go.mod h1:/S4A4nUANUa4bZJ/Edt7ZQTyKOY9WCER0uBS1SW2Rco =
Original file line number Diff line number Diff line change 12
12
- name : kube-rbac-proxy
13
13
securityContext :
14
14
allowPrivilegeEscalation : false
15
- capabilities :
16
- drop :
17
- - ALL
15
+ # TODO(user): uncomment for common cases that do not require escalating privileges
16
+ # capabilities:
17
+ # drop:
18
+ # - "ALL"
18
19
image : gcr.io/kubebuilder/kube-rbac-proxy:v0.11.0
19
20
args :
20
21
- " --secure-listen-address=0.0.0.0:8443"
Original file line number Diff line number Diff line change 26
26
spec :
27
27
securityContext :
28
28
runAsNonRoot : true
29
- seccompProfile :
30
- type : RuntimeDefault
29
+ # TODO(user): For common cases that do not require escalating privileges
30
+ # it is recommended to ensure that all your Pods/Containers are restrictive.
31
+ # More info: https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted
32
+ # Please uncomment the following code if your project does NOT have to work on old Kubernetes
33
+ # versions < 1.19 or on vendors versions which do NOT support this field by default (i.e. Openshift < 4.11 ).
34
+ # seccompProfile:
35
+ # type: RuntimeDefault
31
36
containers :
32
37
- args :
33
38
- --leader-elect
36
41
name : manager
37
42
securityContext :
38
43
allowPrivilegeEscalation : false
39
- capabilities :
40
- drop :
41
- - ALL
44
+ # TODO(user): uncomment for common cases that do not require escalating privileges
45
+ # capabilities:
46
+ # drop:
47
+ # - "ALL"
42
48
livenessProbe :
43
49
httpGet :
44
50
path : /healthz
You can’t perform that action at this time.
0 commit comments