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 0da55ad85e.

Change-Id: I9de78186a2c3a6d181bedfdb8b84abeecce46bd6
This commit is contained in:
Rahul Khiyani 2020-07-29 13:09:08 +00:00 committed by Andrii Ostapenko
parent b82a146640
commit 3978c6a33c
2 changed files with 1 additions and 1 deletions

View File

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

View File

@ -117,6 +117,7 @@ pod:
runAsUser: 0
readOnlyRootFilesystem: true
mariadb_backup:
runAsUser: 65534
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
tests: