Skip to content

Commit c77a6b2

Browse files
pooknullhors
andauthored
K8SPG-613: fix cr.yaml (#1185)
https://perconadev.atlassian.net/browse/K8SPG-613 Co-authored-by: Viacheslav Sarzhan <[email protected]>
1 parent 3ea3892 commit c77a6b2

File tree

1 file changed

+42
-39
lines changed

1 file changed

+42
-39
lines changed

deploy/cr.yaml

Lines changed: 42 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,25 @@ spec:
1717
# cpu: 2.0
1818
# memory: 4Gi
1919
# containerSecurityContext:
20-
# fsGroup: 1001
2120
# runAsUser: 1001
22-
# runAsNonRoot: true
23-
# fsGroupChangePolicy: "OnRootMismatch"
2421
# runAsGroup: 1001
25-
# seLinuxOptions:
26-
# type: spc_t
27-
# level: s0:c123,c456
22+
# runAsNonRoot: true
23+
# privileged: false
24+
# allowPrivilegeEscalation: false
25+
# readOnlyRootFilesystem: true
26+
# capabilities:
27+
# add:
28+
# - NET_ADMIN
29+
# - SYS_TIME
30+
# drop:
31+
# - ALL
2832
# seccompProfile:
2933
# type: Localhost
3034
# localhostProfile: localhost/profile.json
31-
# supplementalGroups:
32-
# - 1001
33-
# sysctls:
34-
# - name: net.ipv4.tcp_keepalive_time
35-
# value: "600"
36-
# - name: net.ipv4.tcp_keepalive_intvl
37-
# value: "60"
35+
# procMount: Default
36+
# seLinuxOptions:
37+
# type: spc_t
38+
# level: s0:c123,c456
3839
# metadata:
3940
# annotations:
4041
# example-annotation: value
@@ -182,24 +183,25 @@ spec:
182183
# cpu: 2.0
183184
# memory: 4Gi
184185
# containerSecurityContext:
185-
# fsGroup: 1001
186186
# runAsUser: 1001
187-
# runAsNonRoot: true
188-
# fsGroupChangePolicy: "OnRootMismatch"
189187
# runAsGroup: 1001
190-
# seLinuxOptions:
191-
# type: spc_t
192-
# level: s0:c123,c456
188+
# runAsNonRoot: true
189+
# privileged: false
190+
# allowPrivilegeEscalation: false
191+
# readOnlyRootFilesystem: true
192+
# capabilities:
193+
# add:
194+
# - NET_ADMIN
195+
# - SYS_TIME
196+
# drop:
197+
# - ALL
193198
# seccompProfile:
194199
# type: Localhost
195200
# localhostProfile: localhost/profile.json
196-
# supplementalGroups:
197-
# - 1001
198-
# sysctls:
199-
# - name: net.ipv4.tcp_keepalive_time
200-
# value: "600"
201-
# - name: net.ipv4.tcp_keepalive_intvl
202-
# value: "60"
201+
# procMount: Default
202+
# seLinuxOptions:
203+
# type: spc_t
204+
# level: s0:c123,c456
203205

204206
affinity:
205207
podAntiAffinity:
@@ -385,24 +387,25 @@ spec:
385387
# cpu: 2.0
386388
# memory: 4Gi
387389
# containerSecurityContext:
388-
# fsGroup: 1001
389390
# runAsUser: 1001
390-
# runAsNonRoot: true
391-
# fsGroupChangePolicy: "OnRootMismatch"
392391
# runAsGroup: 1001
393-
# seLinuxOptions:
394-
# type: spc_t
395-
# level: s0:c123,c456
392+
# runAsNonRoot: true
393+
# privileged: false
394+
# allowPrivilegeEscalation: false
395+
# readOnlyRootFilesystem: true
396+
# capabilities:
397+
# add:
398+
# - NET_ADMIN
399+
# - SYS_TIME
400+
# drop:
401+
# - ALL
396402
# seccompProfile:
397403
# type: Localhost
398404
# localhostProfile: localhost/profile.json
399-
# supplementalGroups:
400-
# - 1001
401-
# sysctls:
402-
# - name: net.ipv4.tcp_keepalive_time
403-
# value: "600"
404-
# - name: net.ipv4.tcp_keepalive_intvl
405-
# value: "60"
405+
# procMount: Default
406+
# seLinuxOptions:
407+
# type: spc_t
408+
# level: s0:c123,c456
406409
# containers:
407410
# pgbackrest:
408411
# resources:

0 commit comments

Comments
 (0)