Skip to content

Commit 95f3ee7

Browse files
authored
feat: support imagePullSecrets (#32)
* Support imagePullSecrets * Update readme
1 parent e6c97c7 commit 95f3ee7

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ and their default values.
7676
| ---------------------------------- | --------------------------------------------------------------- | --------------------- |
7777
| `existingConfigMap` | Name of custom ConfigMap to use | `false` |
7878
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
79+
| `image.pullSecrets` | Image pull secrets | `[]` |
7980
| `image.repository` | Verdaccio container image repository | `verdaccio/verdaccio` |
8081
| `image.tag` | Verdaccio container image tag | `4.6.2` |
8182
| `nodeSelector` | Node labels for pod assignment | `{}` |

charts/verdaccio/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
description: A lightweight private npm proxy registry (sinopia fork)
33
name: verdaccio
4-
version: 0.16.1
4+
version: 0.16.2
55
appVersion: 4.7.2
66
home: https://verdaccio.org
77
icon: https://cdn.verdaccio.dev/logos/default.png

charts/verdaccio/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ spec:
6767
{{- if .Values.extraEnvVars }}
6868
{{ toYaml .Values.extraEnvVars | indent 12 }}
6969
{{- end }}
70+
{{- if .Values.image.pullSecrets }}
71+
imagePullSecrets:
72+
{{ toYaml .Values.image.pullSecrets | indent 8 }}
73+
{{- end }}
7074
{{- if .Values.securityContext.enabled }}
7175
# Allow non-root user to access PersistentVolume
7276
securityContext:

charts/verdaccio/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ image:
22
repository: verdaccio/verdaccio
33
tag: 4.6.2
44
pullPolicy: IfNotPresent
5+
pullSecrets:
6+
# name: dockerhub-secret
57

68
service:
79
annotations: {}

0 commit comments

Comments
 (0)