We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50858d0 commit 53a4434Copy full SHA for 53a4434
2 files changed
charts/frankenphp/templates/crons.yaml
@@ -18,7 +18,9 @@ spec:
18
backoffLimit: {{ (default .backoffLimit 0) }}
19
template:
20
spec:
21
+ {{- with $.Values.serviceAccount }}
22
serviceAccountName: {{ include "helm-frankenphp.serviceAccountName" $context }}
23
+ {{- end }}
24
restartPolicy: {{ (default .restartPolicy "Never") }}
25
containers:
26
- name: {{ $cronName | lower }}
charts/frankenphp/templates/deployment.yaml
@@ -25,7 +25,9 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
27
{{- end }}
28
+ {{- with .Values.serviceAccount }}
29
serviceAccountName: {{ include "helm-frankenphp.serviceAccountName" . }}
30
31
32
- name: {{ .Chart.Name }}
33
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
0 commit comments