12 lines
328 B
YAML
12 lines
328 B
YAML
{{ if .Values.dockerconfigjsonBase64 }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ .Release.Name }}-container-registry
|
|
annotations:
|
|
"helm.sh/hook": pre-install,pre-upgrade
|
|
"helm.sh/hook-weight": "-15"
|
|
type: kubernetes.io/dockerconfigjson
|
|
data:
|
|
.dockerconfigjson: {{ .Values.dockerconfigjsonBase64 }}
|
|
{{ end }}
|