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

12 lines
401 B
YAML
Raw Normal View History

2022-08-12 08:20:19 +00:00
{{- 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 }}