File tree 4 files changed +25
-0
lines changed
4 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ helm uninstall [RELEASE_NAME]
172
172
| webhook.configData | object | `{}` | |
173
173
| webhook.customLabels | object | `{}` | |
174
174
| webhook.env | object | `{}` | |
175
+ | webhook.envFrom | object | `{}` | |
175
176
| webhook.extraArgs | object | `{}` | |
176
177
| webhook.failurePolicy | string | `"Fail"` | |
177
178
| webhook.image.pullPolicy | string | `"IfNotPresent"` | |
Original file line number Diff line number Diff line change 76
76
- name : " {{ $key }}"
77
77
value : " {{ $value }}"
78
78
{{- end }}
79
+ {{- end }}
80
+ {{- if .Values.webhook.envFrom }}
81
+ envFrom :
82
+ {{- range $configMapName := .Values.webhook.envFrom.configmaps }}
83
+ - configMapRef :
84
+ name : " {{ $configMapName }}"
85
+ {{- end }}
86
+ {{- range $secretName := .Values.webhook.envFrom.secrets }}
87
+ - secretRef :
88
+ name : " {{ $secretName }}"
89
+ {{- end }}
79
90
{{- end }}
80
91
{{- if or (semverCompare ">= 1.8-0" .Chart.AppVersion) .Values.webhook.extraArgs }}
81
92
args :
Original file line number Diff line number Diff line change 206
206
"title" : " env" ,
207
207
"type" : " object"
208
208
},
209
+ "envFrom" : {
210
+ "required" : [],
211
+ "title" : " envFrom" ,
212
+ "type" : " object"
213
+ },
209
214
"extraArgs" : {
215
+ "description" : " configmaps:\n - mycm1\n - mycm2\n secrets:\n - mys1\n - mys2" ,
210
216
"required" : [],
211
217
"title" : " extraArgs" ,
212
218
"type" : " object"
Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ webhook:
23
23
version : sha256:6b51f336dec9e9adff29606855dbd2c7910c5eb80d6579795a29cb3844428efc
24
24
pullPolicy : IfNotPresent
25
25
env : {}
26
+ envFrom : {}
27
+ # configmaps:
28
+ # - mycm1
29
+ # - mycm2
30
+ # secrets:
31
+ # - mys1
32
+ # - mys2
26
33
extraArgs : {}
27
34
resources :
28
35
limits :
You can’t perform that action at this time.
0 commit comments