summaryrefslogtreecommitdiffstats
path: root/kud/demo/composite-firewall/sink/templates/serviceaccount.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kud/demo/composite-firewall/sink/templates/serviceaccount.yaml')
-rw-r--r--kud/demo/composite-firewall/sink/templates/serviceaccount.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/kud/demo/composite-firewall/sink/templates/serviceaccount.yaml b/kud/demo/composite-firewall/sink/templates/serviceaccount.yaml
new file mode 100644
index 00000000..2dcd900c
--- /dev/null
+++ b/kud/demo/composite-firewall/sink/templates/serviceaccount.yaml
@@ -0,0 +1,10 @@
+{{- if .Values.serviceAccount.create -}}
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: {{ include "sink.serviceAccountName" . }}
+ {{- with .Values.serviceAccount.annotations }}
+ annotations:
+ {{- toYaml . | nindent 4 }}
+ {{- end }}
+{{- end -}}