diff --git a/charts/cron/Chart.yaml b/charts/cron/Chart.yaml index 84c7be5..e2723a4 100644 --- a/charts/cron/Chart.yaml +++ b/charts/cron/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: cron description: simple chart for deploying a cron workload type: application -version: 0.1.9 +version: 0.1.10 appVersion: "1.16.0" diff --git a/charts/cron/templates/cronjob.yaml b/charts/cron/templates/cronjob.yaml index e391894..ce47fa9 100644 --- a/charts/cron/templates/cronjob.yaml +++ b/charts/cron/templates/cronjob.yaml @@ -14,7 +14,7 @@ spec: template: spec: restartPolicy: Never - serviceAccountName: default + serviceAccountName: mottmac {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 10 }} diff --git a/charts/webapp/Chart.yaml b/charts/webapp/Chart.yaml index 63eab9c..6a9a552 100644 --- a/charts/webapp/Chart.yaml +++ b/charts/webapp/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: webapp description: basic webapp workload type: application -version: 0.1.11 +version: 0.1.12 appVersion: "1.16.0" diff --git a/charts/webapp/templates/deployment.yaml b/charts/webapp/templates/deployment.yaml index 7bf1d56..99e6772 100644 --- a/charts/webapp/templates/deployment.yaml +++ b/charts/webapp/templates/deployment.yaml @@ -25,7 +25,7 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - # serviceAccountName: {{ include "webapp.serviceAccountName" . }} + serviceAccountName: mottmac securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: