14 lines
481 B
YAML
14 lines
481 B
YAML
{{- if eq .Values.svcAccountName "" }}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ template "k8s-triliovault-operator.serviceAccountName" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "k8s-triliovault-operator.labels" . | nindent 4 }}
|
|
app.kubernetes.io/instance: {{ template "k8s-triliovault-operator.appName" . }}-service-account
|
|
{{- if .Values.imagePullSecret }}
|
|
imagePullSecrets:
|
|
- name: {{ .Values.imagePullSecret }}
|
|
{{- end}}
|
|
{{- end }} |