diff --git a/README.md b/README.md index fd0a556..2cd3f10 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ and their default values. | ---------------------------------- | --------------------------------------------------------------- | --------------------- | | `existingConfigMap` | Name of custom ConfigMap to use | `false` | | `image.pullPolicy` | Image pull policy | `IfNotPresent` | +| `image.pullSecrets` | Image pull secrets | `[]` | | `image.repository` | Verdaccio container image repository | `verdaccio/verdaccio` | | `image.tag` | Verdaccio container image tag | `4.6.2` | | `nodeSelector` | Node labels for pod assignment | `{}` | diff --git a/charts/verdaccio/Chart.yaml b/charts/verdaccio/Chart.yaml index 0117061..2466fb4 100644 --- a/charts/verdaccio/Chart.yaml +++ b/charts/verdaccio/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: A lightweight private npm proxy registry (sinopia fork) name: verdaccio -version: 0.16.1 +version: 0.16.2 appVersion: 4.7.2 home: https://verdaccio.org icon: https://cdn.verdaccio.dev/logos/default.png diff --git a/charts/verdaccio/templates/deployment.yaml b/charts/verdaccio/templates/deployment.yaml index 089a257..bf1d3a8 100644 --- a/charts/verdaccio/templates/deployment.yaml +++ b/charts/verdaccio/templates/deployment.yaml @@ -67,6 +67,10 @@ spec: {{- if .Values.extraEnvVars }} {{ toYaml .Values.extraEnvVars | indent 12 }} {{- end }} + {{- if .Values.image.pullSecrets }} + imagePullSecrets: +{{ toYaml .Values.image.pullSecrets | indent 8 }} + {{- end }} {{- if .Values.securityContext.enabled }} # Allow non-root user to access PersistentVolume securityContext: diff --git a/charts/verdaccio/values.yaml b/charts/verdaccio/values.yaml index f0176da..5a25f0b 100644 --- a/charts/verdaccio/values.yaml +++ b/charts/verdaccio/values.yaml @@ -2,6 +2,8 @@ image: repository: verdaccio/verdaccio tag: 4.6.2 pullPolicy: IfNotPresent + pullSecrets: + # name: dockerhub-secret service: annotations: {}