mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-18 10:57:13 -05:00
17 lines
566 B
YAML
17 lines
566 B
YAML
|
{{- if and .Values.envoy.enabled (not .Values.preflight.enabled) .Values.serviceAccounts.envoy.create }}
|
||
|
apiVersion: v1
|
||
|
kind: ServiceAccount
|
||
|
metadata:
|
||
|
name: {{ .Values.serviceAccounts.envoy.name | quote }}
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
{{- if or .Values.serviceAccounts.envoy.annotations .Values.envoy.annotations }}
|
||
|
annotations:
|
||
|
{{- with .Values.envoy.annotations }}
|
||
|
{{- toYaml . | nindent 4 }}
|
||
|
{{- end }}
|
||
|
{{- with .Values.serviceAccounts.envoy.annotations }}
|
||
|
{{- toYaml . | nindent 4 }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|