File tree 4 files changed +13
-2
lines changed
4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ and their default values.
119
119
| ` serviceAccount.name ` | Service account Name | none |
120
120
| ` extraEnvVars ` | Define environment variables to be passed to the container | ` [] ` |
121
121
| ` secretEnvVars ` | Define sensitive environment variables to be passed to the container | ` {} ` |
122
+ | ` existingSecret ` | Existing secret containing environment variables to be passed to the container | ` "" ` |
122
123
| ` extraInitContainers ` | Define additional initContainers to be added to the deployment | ` [] ` |
123
124
| ` securityContext ` | Define Container Security Context | ` {runAsUser=10001} ` |
124
125
| ` podSecurityContext ` | Define Pod Security Context | ` {fsGroup=101} ` |
Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
description : A lightweight private node.js proxy registry
3
3
name : verdaccio
4
- version : 4.8 .0
4
+ version : 4.9 .0
5
5
appVersion : 5.5.0
6
6
home : https://verdaccio.org
7
7
icon : https://cdn.verdaccio.dev/logos/default.png
Original file line number Diff line number Diff line change @@ -42,10 +42,16 @@ spec:
42
42
- name : {{ template "verdaccio.name" . }}
43
43
image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
44
44
imagePullPolicy : {{ .Values.image.pullPolicy }}
45
- {{- if .Values.secretEnvVars }}
45
+ {{- if or .Values.secretEnvVars .Values.existingSecret }}
46
46
envFrom :
47
+ {{- if .Values.secretEnvVars }}
47
48
- secretRef :
48
49
name : {{ template "verdaccio.fullname" . }}-env
50
+ {{- end }}
51
+ {{- if .Values.existingSecret }}
52
+ - secretRef :
53
+ name : {{ .Values.existingSecret }}
54
+ {{- end }}
49
55
{{- end }}
50
56
ports :
51
57
- containerPort : 4873
Original file line number Diff line number Diff line change @@ -115,6 +115,10 @@ secretEnvVars: {}
115
115
# corp_artifactory: foo
116
116
# npmjs: bar
117
117
118
+ # # Existing Secret
119
+ # # Existing secret containing environment variables to be passed to the container
120
+ existingSecret : " "
121
+
118
122
# Extra Init Containers - allows yaml definitions
119
123
extraInitContainers : []
120
124
You can’t perform that action at this time.
0 commit comments