aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/operator/charts/etcd-operator/templates/operator-service-account.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/operator/charts/etcd-operator/templates/operator-service-account.yaml')
-rw-r--r--vnfs/DAaaS/operator/charts/etcd-operator/templates/operator-service-account.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/vnfs/DAaaS/operator/charts/etcd-operator/templates/operator-service-account.yaml b/vnfs/DAaaS/operator/charts/etcd-operator/templates/operator-service-account.yaml
new file mode 100644
index 00000000..2faba8af
--- /dev/null
+++ b/vnfs/DAaaS/operator/charts/etcd-operator/templates/operator-service-account.yaml
@@ -0,0 +1,12 @@
+{{- if and .Values.serviceAccount.etcdOperatorServiceAccount.create .Values.deployments.etcdOperator }}
+---
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: {{ template "etcd-operator.serviceAccountName" . }}
+ labels:
+ chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
+ app: {{ template "etcd-operator.name" . }}
+ heritage: {{ .Release.Service }}
+ release: {{ .Release.Name }}
+{{- end }} \ No newline at end of file