Skip to content

Commit 78e779a

Browse files
Added disable_legacy_key_id to helm chart (#410)
1 parent 5776ccc commit 78e779a

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

chart/docker-auth/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: "1.14.0"
33
description: Docker Registry V2 authentication server
44
name: docker-auth
5-
version: 1.14.0
5+
version: 1.14.1
66
kubeVersion: ">=1.25"
77
keywords:
88
- docker

chart/docker-auth/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ helm uninstall docker-auth
5757
| **Authentication** | | |
5858
| `configmap.data.token.issuer` | Token issuer name (must match registry config) | `"Acme auth server"` |
5959
| `configmap.data.token.expiration` | Token expiration time in seconds | `900` |
60+
| `configmap.data.token.disableLegacyKeyId` | Disables legacy key IDs for registry v3 | `false` |
6061
| `configmap.data.users` | Static user definitions | See values.yaml |
6162
| `configmap.data.acl` | Access control list rules | See values.yaml |
6263
| **TLS/Certificates** | | |

chart/docker-auth/templates/configmap.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ data:
1515
{{- else }}
1616
certificate: "/config/certs/server.pem"
1717
key: "/config/certs/server.key"
18+
{{- end }}
19+
{{- if .Values.configmap.data.token.disableLegacyKeyId }}
20+
disable_legacy_key_id: {{ .Values.configmap.data.token.disableLegacyKeyId }}
1821
{{- end }}
1922
users:
2023
{{ .Values.configmap.data.users | toYaml | nindent 6 }}

chart/docker-auth/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ configmap:
2525
token:
2626
issuer: "Acme auth server"
2727
expiration: 900
28+
disableLegacyKeyId: false
2829
users:
2930
"admin":
3031
password: "$2y$05$LO.vzwpWC5LZGqThvEfznu8qhb5SGqvBSWY1J3yZ4AxtMRZ3kN5jC" # password: badmin

0 commit comments

Comments
 (0)