mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-14 10:24:24 -05:00
12 lines
438 B
YAML
12 lines
438 B
YAML
{{- if and (or .Values.externalWorkloads.enabled .Values.clustermesh.useAPIServer) .Values.serviceAccounts.clustermeshApiserver.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ .Values.serviceAccounts.clustermeshApiserver.name | quote }}
|
|
namespace: {{ .Release.Namespace }}
|
|
{{- with .Values.serviceAccounts.clustermeshApiserver.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|