From 98145ca0d9d20271f900115b62bb927aad85b0aa Mon Sep 17 00:00:00 2001 From: Patrick Forrer <32613113+Hechamon@users.noreply.github.com> Date: Wed, 7 Aug 2024 16:42:33 +0200 Subject: [PATCH 1/5] Don't use default 1 for replicaCount Since `default` handles 0 (zero) as "not set", it's currently impossible to scale the helm chart to 0 replicas. The default value in the values file is 1 anyways, so this should not cause a breaking change. --- charts/verdaccio/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/verdaccio/templates/deployment.yaml b/charts/verdaccio/templates/deployment.yaml index 6c0b087..d1aa4a8 100644 --- a/charts/verdaccio/templates/deployment.yaml +++ b/charts/verdaccio/templates/deployment.yaml @@ -10,7 +10,7 @@ metadata: {{- end }} spec: {{- if .Values.replicaCountEnabled }} - replicas: {{ default 1 .Values.replicaCount }} + replicas: {{ .Values.replicaCount }} {{- end}} revisionHistoryLimit: {{ .Values.revisionHistoryLimit }} selector: From 8be2b72ccfd65975b9f633b84f2483f2118167d6 Mon Sep 17 00:00:00 2001 From: Patrick Forrer <32613113+Hechamon@users.noreply.github.com> Date: Wed, 7 Aug 2024 16:47:44 +0200 Subject: [PATCH 2/5] Update Chart.yaml with new version --- charts/verdaccio/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/verdaccio/Chart.yaml b/charts/verdaccio/Chart.yaml index 617d493..bff8828 100644 --- a/charts/verdaccio/Chart.yaml +++ b/charts/verdaccio/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A lightweight private node.js proxy registry name: verdaccio -version: 4.17.0 +version: 4.18.0 appVersion: 5.31.1 home: https://verdaccio.org icon: https://cdn.verdaccio.dev/logos/default.png From 87e6d1fff8ca0e66d6be9cf0d81b02f089282461 Mon Sep 17 00:00:00 2001 From: Patrick Forrer <32613113+Hechamon@users.noreply.github.com> Date: Wed, 2 Oct 2024 22:55:52 +0200 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9003c72..f40d305 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ helm install npm verdaccio/verdaccio ```bash # Helm v3+ -helm install npm --set image.tag=5.29.0 verdaccio/verdaccio +helm install npm --set image.tag=6.0.0 verdaccio/verdaccio ``` ### Upgrading Verdaccio From 359c1c919ae78f17f1c7795e00a2ec3b6ea83b1f Mon Sep 17 00:00:00 2001 From: Patrick Forrer <32613113+Hechamon@users.noreply.github.com> Date: Wed, 2 Oct 2024 22:58:50 +0200 Subject: [PATCH 4/5] Update Chart.yaml Switch to v6 image --- charts/verdaccio/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/verdaccio/Chart.yaml b/charts/verdaccio/Chart.yaml index bff8828..0087565 100644 --- a/charts/verdaccio/Chart.yaml +++ b/charts/verdaccio/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 description: A lightweight private node.js proxy registry name: verdaccio -version: 4.18.0 -appVersion: 5.31.1 +version: 4.19.0 +appVersion: 6.0.0 home: https://verdaccio.org icon: https://cdn.verdaccio.dev/logos/default.png sources: From 5085e171e713964ab836f608f2581d66b950b0b9 Mon Sep 17 00:00:00 2001 From: Patrick Forrer <32613113+Hechamon@users.noreply.github.com> Date: Wed, 2 Oct 2024 23:08:07 +0200 Subject: [PATCH 5/5] Update values.yaml update documentation comment in values.yaml --- charts/verdaccio/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/verdaccio/values.yaml b/charts/verdaccio/values.yaml index b3a6814..b995192 100644 --- a/charts/verdaccio/values.yaml +++ b/charts/verdaccio/values.yaml @@ -1,6 +1,6 @@ image: repository: verdaccio/verdaccio - # tag: 5.21.1 + # tag: defaults to appVersion in Chart.yaml pullPolicy: IfNotPresent pullSecrets: [] # - dockerhub-secret