Skip to content

Commit a821182

Browse files
tplavcichors
andauthored
K8SPSMDB-1071 - Add containerSecurityContext and podSecurityContext into (#1531)
cr.yaml Co-authored-by: Viacheslav Sarzhan <slava.sarzhan@percona.com>
1 parent 531f94c commit a821182

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

deploy/cr.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ spec:
142142
# periodSeconds: 3
143143
# successThreshold: 1
144144
# timeoutSeconds: 2
145+
# containerSecurityContext:
146+
# privileged: false
147+
# podSecurityContext:
148+
# runAsUser: 1001
149+
# runAsGroup: 1001
150+
# supplementalGroups: [1001]
145151
# runtimeClassName: image-rc
146152
# sidecars:
147153
# - image: busybox
@@ -383,6 +389,12 @@ spec:
383389
# periodSeconds: 3
384390
# successThreshold: 1
385391
# timeoutSeconds: 2
392+
# containerSecurityContext:
393+
# privileged: false
394+
# podSecurityContext:
395+
# runAsUser: 1001
396+
# runAsGroup: 1001
397+
# supplementalGroups: [1001]
386398
# runtimeClassName: image-rc
387399
# sidecars:
388400
# - image: busybox
@@ -478,6 +490,12 @@ spec:
478490
# periodSeconds: 3
479491
# successThreshold: 1
480492
# timeoutSeconds: 2
493+
# containerSecurityContext:
494+
# privileged: false
495+
# podSecurityContext:
496+
# runAsUser: 1001
497+
# runAsGroup: 1001
498+
# supplementalGroups: [1001]
481499
# runtimeClassName: image-rc
482500
# sidecars:
483501
# - image: busybox
@@ -521,6 +539,8 @@ spec:
521539
# requests:
522540
# cpu: "300m"
523541
# memory: "0.5G"
542+
# containerSecurityContext:
543+
# privileged: false
524544
# storages:
525545
# s3-us-west:
526546
# type: s3

0 commit comments

Comments
 (0)