Revert "Add missing pod level security context template for mariadb-backup"
Reverting this change as the health checks are failing with permission denied. Need to dig more and do through testing. This reverts commit 0da55ad85ef621baa22887799e3146cecd93d368. Change-Id: I9de78186a2c3a6d181bedfdb8b84abeecce46bd6
This commit is contained in:
parent
b82a146640
commit
3978c6a33c
@ -49,7 +49,6 @@ spec:
|
||||
labels:
|
||||
{{ tuple $envAll "mariadb-backup" "backup" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 12 }}
|
||||
spec:
|
||||
{{ dict "envAll" $envAll "application" "mariadb_backup" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 10 }}
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
restartPolicy: OnFailure
|
||||
nodeSelector:
|
||||
|
@ -117,6 +117,7 @@ pod:
|
||||
runAsUser: 0
|
||||
readOnlyRootFilesystem: true
|
||||
mariadb_backup:
|
||||
runAsUser: 65534
|
||||
readOnlyRootFilesystem: true
|
||||
allowPrivilegeEscalation: false
|
||||
tests:
|
||||
|
Loading…
x
Reference in New Issue
Block a user