constellation/cli/internal/helm/charts/cilium/templates/cilium-agent/serviceaccount.yaml

12 lines
407 B
YAML
Raw Normal View History

2022-08-12 04:20:19 -04:00
{{- if and .Values.agent (not .Values.preflight.enabled) .Values.serviceAccounts.cilium.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.serviceAccounts.cilium.name | quote }}
namespace: {{ .Release.Namespace }}
{{- if .Values.serviceAccounts.cilium.annotations }}
annotations:
{{- toYaml .Values.serviceAccounts.cilium.annotations | nindent 4 }}
{{- end }}
{{- end }}