18 lines
509 B
YAML
18 lines
509 B
YAML
---
|
|
{{- if .Values.serviceAccount.create }}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "lib.serviceAccountName" . }}
|
|
namespace: {{.Release.Namespace}}
|
|
{{- if or .Values.imagePullSecrets.enabled .Values.imagePullSecrets.createSecret.enabled }}
|
|
imagePullSecrets:
|
|
{{- if.Values.imagePullSecrets.createSecret.enabled }}
|
|
- name: {{ template "common.names.fullname" . }}-btp-lic
|
|
{{- end }}
|
|
{{- range .Values.imagePullSecrets.value }}
|
|
- name: {{ .name }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|