5 Commits

Author SHA1 Message Date
Devin Canterberry
dfcd91722c 🏁 v1.13.1 Release 2021-09-26 23:50:41 -07:00
Devin Canterberry
932a31b2fa 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
2021-09-26 23:48:24 -07:00
pavankumar-go
88528289cf uses default function instead of if-else condition 2021-09-27 11:30:06 +05:30
Devin Canterberry
35c1365b5c 🐞 Replace broken icon URL with a pattern under the control of this chart repo 2021-09-03 16:16:36 -07:00
Pavan Kumar
d412af5f95 Add keys proxyUsername and proxyPassword with empty string
Setting up docker-registry proxy with no password & username created the secret to be created without `proxyUsername` and `proxyPassword` fields, causing pod to fail if `proxy.enabled = true` with error 
```
error: "couldn't find key proxyUsername in Secret <namespace>/docker-registry-secret"
```
2021-08-26 18:44:03 +05:30
2 changed files with 4 additions and 9 deletions

View File

@@ -1,10 +1,10 @@
apiVersion: v1
description: A Helm chart for Docker Registry
name: docker-registry
version: 1.13.0
version: 1.13.1
appVersion: 2.7.1
home: https://hub.docker.com/_/registry/
icon: https://hub.docker.com/public/images/logos/mini-logo.svg
icon: https://helm.twun.io/docker-registry.png
maintainers:
- email: devin@canterberry.cc
name: Devin Canterberry

View File

@@ -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 }}