From 4397ed6152343ef17c602ba69777b09d553b82fd Mon Sep 17 00:00:00 2001 From: "KHIYANI, RAHUL (rk0850)" Date: Wed, 29 Jul 2020 14:39:21 -0500 Subject: [PATCH] Add missing security context template to mariadb-backup pod Values are already overridden in values.yaml https://github.com/openstack/openstack-helm-infra/blob/master/mariadb/values.yaml#L112-L122 Change-Id: I2931eb1408d1d8145b476a76ff8cfac36e9f2bfe --- mariadb/templates/cron-job-backup-mariadb.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/mariadb/templates/cron-job-backup-mariadb.yaml b/mariadb/templates/cron-job-backup-mariadb.yaml index 3a69b4ab6..77d8496d7 100644 --- a/mariadb/templates/cron-job-backup-mariadb.yaml +++ b/mariadb/templates/cron-job-backup-mariadb.yaml @@ -49,6 +49,7 @@ 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: