Skip to content

Commit 9c6b498

Browse files
committed
feat(docker-registry-ui): add support to docker-registry-ui v2.5.0
1 parent a155e27 commit 9c6b498

File tree

4 files changed

+51
-17
lines changed

4 files changed

+51
-17
lines changed

charts/docker-registry-ui/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: docker-registry-ui
3-
version: 1.0.1
4-
appVersion: "2.4.1"
3+
version: 1.1.0
4+
appVersion: "2.5.0"
55
kubeVersion: ">=1.19.0-0"
66
description: The simplest and most complete UI for your private registry
77
home: https://github.com/Joxit/docker-registry-ui
@@ -17,9 +17,9 @@ annotations:
1717
artifacthub.io/prerelease: "false"
1818
artifacthub.io/images: |
1919
- name: docker-registry-ui
20-
image: joxit/docker-registry-ui:2.4.1
20+
image: joxit/docker-registry-ui:2.5.0
2121
- name: registry
22-
image: registry:2.8.1
22+
image: registry:2.8.2
2323
artifacthub.io/license: MIT
2424
artifacthub.io/links: |
2525
- name: Documentation

charts/docker-registry-ui/README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,20 @@ helm upgrade --install docker-registry-ui joxit/docker-registry-ui
5252
| --- | --- | --- |
5353
| `ui.replicas` | `1` | Number of replicas for the Deployment. |
5454
| `ui.title` | `"Docker registry UI"` | Title of the registry |
55-
| `ui.deleteImages` | `false` | Allow delete of images |
5655
| `ui.proxy` | `false` | UI behave as a proxy of the registry |
5756
| `ui.dockerRegistryUrl` | `null` | The URL of your docker registry, may be a service (when proxy is on) or an external URL. |
5857
| `ui.pullUrl` | `null` | Override the pull URL |
59-
| `ui.showCatalogNbTags` | `false` | Show number of tags per images on catalog page. This will produce + nb images requests, not recommended on large registries. |
60-
| `ui.showContentDigest` | `false` | Show content digest in docker tag list. |
6158
| `ui.singleRegistry` | `true` | Remove the menu that show the dialogs to add, remove and change the endpoint of your docker registry. |
59+
| `ui.registrySecured` | `false` | By default, the UI will check on every requests if your registry is secured or not (you will see `401` responses in your console). Set to `true` if your registry uses Basic Authentication and divide by two the number of call to your registry. |
60+
| `ui.showCatalogNbTags` | `false` | Show number of tags per images on catalog page. This will produce + nb images requests, not recommended on large registries. |
6261
| `ui.catalogElementsLimit` | `1000` | Limit the number of elements in the catalog page. |
62+
| `ui.catalogDefaultExpanded` | `false` | Expand by default all repositories in catalog |
63+
| `ui.catalogMinBranches` | `1` | Set the minimum repository/namespace to expand (e.g. `joxit/docker-registry-ui` `joxit/` is the repository/namespace). Can be 0 to disable branching. |
64+
| `ui.catalogMaxBranches` | `1` | Set the maximum repository/namespace to expand (e.g. `joxit/docker-registry-ui` `joxit/` is the repository/namespace). Can be 0 to disable branching. |
65+
| `ui.deleteImages` | `false` | Allow delete of images |
66+
| `ui.showContentDigest` | `false` | Show content digest in docker tag list. |
67+
| `ui.taglistOrder` | `alpha-asc;num-desc` | Set the default order for the taglist page, could be `num-asc;alpha-asc`, `num-desc;alpha-asc`, `num-asc;alpha-desc`, `num-desc;alpha-desc`, `alpha-asc;num-asc`, `alpha-asc;num-desc`, `alpha-desc;num-asc` or `alpha-desc;num-desc`. |
68+
| `ui.taglistPageSize` | `100` | Set the number of tags to display in one page. |
6369
| `ui.historyCustomLabels` | `[]` | Expose custom labels in history page, custom labels will be processed like maintainer label. |
6470
| `ui.nginxProxyHeaders` | `[]` | Update the default Nginx configuration and **set custom headers** for your backend docker registry. Only when `ui.proxy` is used. Example: nginxProxyHeaders: [ { my-heeader-name: my-header-value } ] |
6571
| `ui.nginxProxyPassHeaders` | `[]` | Update the default Nginx configuration and **forward custom headers** to your backend docker registry. Only when `ui.proxy` is used. Example: nginxProxyPassHeaders: [ my-first-header, my-second-header ] |
@@ -76,7 +82,7 @@ helm upgrade --install docker-registry-ui joxit/docker-registry-ui
7682
| `ui.theme.footerBackground` | `""` | Custom footer background color for the UI |
7783
| `ui.theme.footerText` | `""` | Custom footer text color for the UI |
7884
| `ui.theme.footerNeutralText` | `""` | Custom footer neutral color for the UI (links) |
79-
| `ui.image` | `joxit/docker-registry-ui:2.4.1` | The name and tag of the docker image of the interface |
85+
| `ui.image` | `joxit/docker-registry-ui:2.5.0` | The name and tag of the docker image of the interface |
8086
| `ui.imagePullSecrets` | `"-"` | Override default image pull secrets |
8187
| `ui.imagePullPolicy` | `"-"` | Override default pull policy |
8288
| `ui.resources` | `{}` | The resource settings for user interface pod. |
@@ -104,7 +110,7 @@ helm upgrade --install docker-registry-ui joxit/docker-registry-ui
104110
| Value | Default | Description |
105111
| --- | --- | --- |
106112
| `registry.enabled` | `false` | Enable the registry server. |
107-
| `registry.image` | `registry:2.8.1` | The name and tag of the docker registry server image |
113+
| `registry.image` | `registry:2.8.2` | The name and tag of the docker registry server image |
108114
| `registry.imagePullSecrets` | `"-"` | Override default image pull secrets |
109115
| `registry.imagePullPolicy` | `"-"` | Override default pull policy |
110116
| `registry.dataVolume` | `null` | Configuration for the data directory. When null it will create an emptyDir. |

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,18 @@ spec:
7878
value: {{ .Values.ui.service.targetPort | quote }}
7979
- name: USE_CONTROL_CACHE_HEADER
8080
value: {{ .Values.ui.useControlCacheHeader | quote }}
81+
- name: TAGLIST_ORDER
82+
value: {{ .Values.ui.taglistOrder | quote }}
83+
- name: CATALOG_DEFAULT_EXPANDED
84+
value: {{ .Values.ui.catalogDefaultExpanded | quote }}
85+
- name: CATALOG_MIN_BRANCHES
86+
value: {{ .Values.ui.catalogMinBranches | quote }}
87+
- name: CATALOG_MAX_BRANCHES
88+
value: {{ .Values.ui.catalogMaxBranches | quote }}
89+
- name: TAGLIST_PAGE_SIZE
90+
value: {{ .Values.ui.taglistPageSize | quote }}
91+
- name: REGISTRY_SECURED
92+
value: {{ .Values.ui.registrySecured | quote }}
8193
- name: THEME
8294
value: {{ .Values.ui.defaultTheme | quote }}
8395
- name: THEME_PRIMARY_TEXT

charts/docker-registry-ui/values.yaml

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,40 @@ ui:
1414
replicas: 1
1515
# Title of the registry
1616
title: "Docker registry UI"
17-
# Allow delete of images
18-
deleteImages: false
1917
# UI behave as a proxy of the registry
2018
proxy: false
2119
# The URL of your docker registry, may be a service (when proxy is on) or an external URL.
2220
dockerRegistryUrl: null
2321
# Override the pull URL
2422
pullUrl: null
25-
# Show number of tags per images on catalog page. This will produce + nb images requests, not recommended on large registries.
26-
showCatalogNbTags: false
27-
# Show content digest in docker tag list.
28-
showContentDigest: false
2923
# Remove the menu that show the dialogs to add, remove and change the endpoint of your docker registry.
3024
singleRegistry: true
25+
# By default, the UI will check on every requests if your registry is secured or not (you will see `401` responses in your console). Set to `true` if your registry uses Basic Authentication and divide by two the number of call to your registry.
26+
registrySecured: false
27+
28+
# Show number of tags per images on catalog page. This will produce + nb images requests, not recommended on large registries.
29+
showCatalogNbTags: false
3130
# Limit the number of elements in the catalog page.
3231
catalogElementsLimit: 1000
32+
# Expand by default all repositories in catalog
33+
catalogDefaultExpanded: false
34+
# Set the minimum repository/namespace to expand (e.g. `joxit/docker-registry-ui` `joxit/` is the repository/namespace). Can be 0 to disable branching.
35+
catalogMinBranches: 1
36+
# Set the maximum repository/namespace to expand (e.g. `joxit/docker-registry-ui` `joxit/` is the repository/namespace). Can be 0 to disable branching.
37+
catalogMaxBranches: 1
38+
39+
# Allow delete of images
40+
deleteImages: false
41+
# Show content digest in docker tag list.
42+
showContentDigest: false
43+
# Set the default order for the taglist page, could be `num-asc;alpha-asc`, `num-desc;alpha-asc`, `num-asc;alpha-desc`, `num-desc;alpha-desc`, `alpha-asc;num-asc`, `alpha-asc;num-desc`, `alpha-desc;num-asc` or `alpha-desc;num-desc`.
44+
taglistOrder: alpha-asc;num-desc
45+
# Set the number of tags to display in one page.
46+
taglistPageSize: 100
47+
3348
# Expose custom labels in history page, custom labels will be processed like maintainer label.
3449
historyCustomLabels: []
50+
3551
# Update the default Nginx configuration and **set custom headers** for your backend docker registry. Only when `ui.proxy` is used.
3652
# Example:
3753
# nginxProxyHeaders:
@@ -73,7 +89,7 @@ ui:
7389
footerNeutralText: ""
7490

7591
# The name and tag of the docker image of the interface
76-
image: joxit/docker-registry-ui:2.4.1
92+
image: joxit/docker-registry-ui:2.5.0
7793
# Override default image pull secrets
7894
imagePullSecrets: "-"
7995
# Override default pull policy
@@ -132,7 +148,7 @@ registry:
132148
# Enable the registry server.
133149
enabled: false
134150
# The name and tag of the docker registry server image
135-
image: registry:2.8.1
151+
image: registry:2.8.2
136152
# Override default image pull secrets
137153
imagePullSecrets: "-"
138154
# Override default pull policy

0 commit comments

Comments
 (0)