9
deploy/helm/templates/pull_secret.yml
Normal file
9
deploy/helm/templates/pull_secret.yml
Normal file
@ -0,0 +1,9 @@
|
||||
{{- if .Values.image.pullSecret }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ .Values.image.pullSecret.secretName }}
|
||||
data:
|
||||
.dockerconfigjson: {{tpl (.Files.Get "files/dockerauth.json") . | b64enc | quote}}
|
||||
type: kubernetes.io/dockerconfigjson
|
||||
{{- end }}
|
Reference in New Issue
Block a user