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

12 lines
401 B
YAML

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