make security policy explicit in the k8s example as per helm chart
This commit is contained in:
parent
6ab53b4699
commit
b84118dd88
1 changed files with 4 additions and 2 deletions
|
@ -75,7 +75,7 @@ spec:
|
||||||
command: ['65534:82', '/mnt']
|
command: ['65534:82', '/mnt']
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
readOnlyRootFilesystem: True
|
readOnlyRootFilesystem: true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /mnt
|
- mountPath: /mnt
|
||||||
name: privatebin-data
|
name: privatebin-data
|
||||||
|
@ -93,7 +93,9 @@ spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 65534
|
runAsUser: 65534
|
||||||
runAsGroup: 82
|
runAsGroup: 82
|
||||||
readOnlyRootFilesystem: True
|
readOnlyRootFilesystem: true
|
||||||
|
privileged: false
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue