Skip to content

Commit 2ce1ed8

Browse files
bcrisp4yorugac
authored andcommitted
Gate creation of ServiceAccount resource on .Values.manager.serviceAccount.create
Fixes #665
1 parent 3239c79 commit 2ce1ed8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

charts/k6-operator/templates/serviceAccount.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if .Values.manager.serviceAccount.create }}
12
apiVersion: v1
23
kind: ServiceAccount
34
metadata:
@@ -9,3 +10,4 @@ metadata:
910
{{- include "k6-operator.customLabels" . | default "" | nindent 4 }}
1011
annotations:
1112
{{- include "k6-operator.customAnnotations" . | default "" | nindent 4 }}
13+
{{- end }}

0 commit comments

Comments
 (0)