Skip to content

Commit c3ea9b3

Browse files
committed
feat(docker-registry-ui): add configuration for dockerRegistryUrl
1 parent e0f75da commit c3ea9b3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

charts/docker-registry-ui/templates/ui-deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ spec:
3535
value: {{ .Values.ui.deleteImages | quote }}
3636
{{- if .Values.ui.proxy }}
3737
- name: NGINX_PROXY_PASS_URL
38-
value: ""
38+
value: {{ .Values.ui.dockerRegistryUrl }}
3939
{{- else }}
4040
- name: REGISTRY_URL
41-
value: ""
41+
value: {{ .Values.ui.dockerRegistryUrl }}
4242
{{- end }}
4343
{{- if .Values.ui.pullUrl }}
4444
- name: PULL_URL

charts/docker-registry-ui/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ ui:
1616
deleteImages: false
1717
# UI behave as a proxy of the registry
1818
proxy: false
19+
# The URL of your docker registry, may be a service (when proxy is on) or an external URL.
20+
dockerRegistryUrl: null
1921
# Override the pull URL
2022
pullUrl: null
2123
# The name and tag of the docker image of the interface

0 commit comments

Comments
 (0)