make security policy explicit in the k8s example as per helm chart

This commit is contained in:
El RIDO 2020-10-03 10:35:05 +02:00
parent 6ab53b4699
commit b84118dd88
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -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: /