File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,35 +22,10 @@ spec:
2222 labels :
2323 control-plane : shard-controller
2424 spec :
25- # TODO(user): Uncomment the following code to configure the nodeAffinity expression
26- # according to the platforms which are supported by your solution.
27- # It is considered best practice to support multiple architectures. You can
28- # build your manager image using the makefile target docker-buildx.
29- # affinity:
30- # nodeAffinity:
31- # requiredDuringSchedulingIgnoredDuringExecution:
32- # nodeSelectorTerms:
33- # - matchExpressions:
34- # - key: kubernetes.io/arch
35- # operator: In
36- # values:
37- # - amd64
38- # - arm64
39- # - ppc64le
40- # - s390x
41- # - key: kubernetes.io/os
42- # operator: In
43- # values:
44- # - linux
4525 securityContext :
4626 runAsNonRoot : true
47- # TODO(user): For common cases that do not require escalating privileges
48- # it is recommended to ensure that all your Pods/Containers are restrictive.
49- # More info: https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted
50- # Please uncomment the following code if your project does NOT have to work on old Kubernetes
51- # versions < 1.19 or on vendors versions which do NOT support this field by default (i.e. Openshift < 4.11 ).
52- # seccompProfile:
53- # type: RuntimeDefault
27+ seccompProfile :
28+ type : RuntimeDefault
5429 containers :
5530 - command :
5631 - /manager
Original file line number Diff line number Diff line change @@ -205,5 +205,7 @@ spec:
205205 - ALL
206206 securityContext :
207207 runAsNonRoot : true
208+ seccompProfile :
209+ type : RuntimeDefault
208210 serviceAccountName : shard-controller
209211 terminationGracePeriodSeconds : 10
You can’t perform that action at this time.
0 commit comments