File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
charts/docker-registry-ui Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 4040 {{- if .Values.ui.proxy }}
4141 - name : NGINX_PROXY_PASS_URL
4242 value : {{ .Values.ui.dockerRegistryUrl | quote }}
43+ {{- range $header := .Values.ui.nginxProxyHeaders }}
44+ {{- range $key, $value := $header }}
45+ - name : {{ printf "NGINX_PROXY_HEADER_%s" $key }}
46+ value : {{ $value }}
47+ {{- end }}
48+ {{- end }}
49+ {{- range $header := .Values.ui.nginxProxyPassHeaders }}
50+ - name : {{ printf "NGINX_PROXY_PASS_HEADER_%s" $header }}
51+ {{- end }}
4352 {{- else }}
4453 - name : REGISTRY_URL
4554 value : {{ .Values.ui.dockerRegistryUrl | quote }}
Original file line number Diff line number Diff line change 3030 catalogElementsLimit : 100000
3131 # Expose custom labels in history page, custom labels will be processed like maintainer label.
3232 historyCustomLabels : []
33+ # Update the default Nginx configuration and **set custom headers** for your backend docker registry. Only when `ui.proxy` is used.
34+ # Example:
35+ # nginxProxyHeaders:
36+ # - my-heeader-name: my-header-value
37+ nginxProxyHeaders : []
38+ # Update the default Nginx configuration and **forward custom headers** to your backend docker registry. Only when `ui.proxy` is used.
39+ # Example:
40+ # nginxProxyPassHeaders: [ my-first-header, my-second-header ]
41+ nginxProxyPassHeaders : []
3342 # The name and tag of the docker image of the interface
3443 image : joxit/docker-registry-ui:2.2.1
3544 # Override default image pull secrets
You can’t perform that action at this time.
0 commit comments