constellation/cli/internal/helm/charts/cilium/templates/clustermesh-apiserver/serviceaccount.yaml
2022-08-12 10:20:19 +02:00

12 lines
438 B
YAML

{{- if and (or .Values.externalWorkloads.enabled .Values.clustermesh.useAPIServer) .Values.serviceAccounts.clustermeshApiserver.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.serviceAccounts.clustermeshApiserver.name | quote }}
namespace: {{ .Release.Namespace }}
{{- with .Values.serviceAccounts.clustermeshApiserver.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}