mirror of
https://github.com/twuni/docker-registry.helm.git
synced 2026-05-05 17:16:39 +00:00
Merge pull request #25 from pavankumar-go/patch-1
Add keys proxyUsername and proxyPassword with empty string to docker-registry-secret if values are not set
This commit is contained in:
@@ -35,10 +35,5 @@ data:
|
||||
swiftPassword: {{ .Values.secrets.swift.password | b64enc | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.proxy.username }}
|
||||
proxyUsername: {{ .Values.proxy.username | b64enc | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.proxy.password }}
|
||||
proxyPassword: {{ .Values.proxy.password | b64enc | quote }}
|
||||
{{- end }}
|
||||
proxyUsername: {{ .Values.proxy.username | default "" | b64enc | quote }}
|
||||
proxyPassword: {{ .Values.proxy.password | default "" | b64enc | quote }}
|
||||
|
||||
Reference in New Issue
Block a user