argocd/cilium/templates/cilium-preflight/serviceaccount.yaml
2024-11-08 12:56:42 +01:00

17 lines
562 B
YAML

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