3 Commits

Author SHA1 Message Date
Devin Canterberry
f9fbd04f6f 🏁 v1.14.0 Release 2021-10-19 23:56:15 -07:00
Devin Canterberry
935935622c Merge pull request #35 from vvanouytsel/main
Support additional env variables
2021-10-13 08:44:22 -07:00
Vincent Van Ouytsel
4c49800452 Support additional env variables 2021-10-13 09:32:25 +02:00
4 changed files with 10 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for Docker Registry
name: docker-registry
version: 1.13.2
version: 1.14.0
appVersion: 2.7.1
home: https://hub.docker.com/_/registry/
icon: https://helm.twun.io/docker-registry.png

View File

@@ -93,6 +93,7 @@ their default values.
| `ingress.tls` | Ingress TLS configuration (YAML) | `[]` |
| `extraVolumeMounts` | Additional volumeMounts to the registry container | `[]` |
| `extraVolumes` | Additional volumes to the pod | `[]` |
| `extraEnvVars` | Additional environment variables to the pod | `[]` |
Specify each parameter using the `--set key=value[,key=value]` argument to
`helm install`.

View File

@@ -175,6 +175,9 @@ spec:
{{- if .Values.persistence.deleteEnabled }}
- name: REGISTRY_STORAGE_DELETE_ENABLED
value: "true"
{{- end }}
{{- with .Values.extraEnvVars }}
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts:
{{- if .Values.secrets.htpasswd }}

View File

@@ -160,3 +160,8 @@ extraVolumes: []
# - key: cloudfront.pem
# path: cloudfront.pem
# mode: 511
extraEnvVars: []
## Additional ENV variables to set
# - name: REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY
# value: "/var/lib/example"