charts/cilium/templates/etcd-operator/etcd-operator-serviceaccount.yaml
2024-07-15 18:18:16 +08:00

17 lines
454 B
YAML

{{- if .Values.etcd.managed }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: cilium-etcd-sa
namespace: {{ .Release.Namespace }}
{{- if or .Values.serviceAccounts.etcd.annotations .Values.etcd.annotations }}
annotations:
{{- with .Values.etcd.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.serviceAccounts.etcd.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}