File tree 15 files changed +60
-11
lines changed
15 files changed +60
-11
lines changed Original file line number Diff line number Diff line change @@ -68,3 +68,11 @@ externalSecrets:
68
68
tenant : test-tenant
69
69
updateStrategy :
70
70
type : Recreate
71
+
72
+ extraEnvVarsMap :
73
+ TEST : value
74
+ TEST_SECRET :
75
+ valueFrom :
76
+ secretKeyRef :
77
+ name : my-custom-secret-name
78
+ key : test
Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ maintainers:
14
14
15
15
name : DevOps
16
16
# Please make sure that version and appVersion are always the same.
17
- version : 0.1.29
18
- appVersion : 0.1.29
17
+ version : 0.1.30
18
+ appVersion : 0.1.30
Original file line number Diff line number Diff line change @@ -125,9 +125,13 @@ spec:
125
125
{{- if .Values.extraEnvVarsMap }}
126
126
{{- range $key, $val := .Values.extraEnvVarsMap }}
127
127
- name : {{ $key }}
128
+ {{- if (kindIs "map" $val ) }}
129
+ {{- include "nio-common.tplvalues.render" (dict "value" $val "context" $) | nindent 18 }}
130
+ {{- else }}
128
131
value : {{ include "nio-common.tplvalues.render" (dict "value" $val "context" $) | quote }}
129
132
{{- end }}
130
133
{{- end }}
134
+ {{- end }}
131
135
{{- if .Values.datadog }}
132
136
{{- include "nio-common.datadog.envs" (dict "value" .Values.datadog "context" $) | nindent 16 }}
133
137
{{- end }}
Original file line number Diff line number Diff line change @@ -162,10 +162,15 @@ shareProcessNamespace: false
162
162
# #
163
163
extraEnvVars : []
164
164
165
- # # @param extraEnvVarsMap Add extra environment variables to the Deployment container
165
+ # # @param extraEnvVarsMap Add extra environment variables to the Deployment container. Can be a single string or a valid environment mapping
166
166
# # E.g:
167
167
# # extraEnvVarsMap:
168
168
# # FOO: "bar"
169
+ # # FOO_SECRET:
170
+ # # valueFrom:
171
+ # # secretKeyRef:
172
+ # # name: secret
173
+ # # key: test
169
174
# #
170
175
extraEnvVarsMap : {}
171
176
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ maintainers:
13
13
14
14
name : DevOps
15
15
# Please make sure that version and appVersion are always the same.
16
- version : 0.1.7
17
- appVersion : 0.1.7
16
+ version : 0.1.8
17
+ appVersion : 0.1.8
Original file line number Diff line number Diff line change 90
90
{{- if .Values.extraEnvVarsMap }}
91
91
{{- range $key, $val := .Values.extraEnvVarsMap }}
92
92
- name : {{ $key }}
93
+ {{- if (kindIs "map" $val ) }}
94
+ {{- include "nio-common.tplvalues.render" (dict "value" $val "context" $) | nindent 14 }}
95
+ {{- else }}
93
96
value : {{ include "nio-common.tplvalues.render" (dict "value" $val "context" $) | quote }}
94
97
{{- end }}
95
98
{{- end }}
99
+ {{- end }}
96
100
- name : POD_NAMESPACE
97
101
valueFrom :
98
102
fieldRef :
Original file line number Diff line number Diff line change @@ -340,6 +340,11 @@ extraEnvVars: []
340
340
# # E.g:
341
341
# # extraEnvVarsMap:
342
342
# # FOO: "bar"
343
+ # # FOO_SECRET:
344
+ # # valueFrom:
345
+ # # secretKeyRef:
346
+ # # name: secret
347
+ # # key: test
343
348
# #
344
349
extraEnvVarsMap : {}
345
350
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ maintainers:
13
13
14
14
name : DevOps
15
15
# Please make sure that version and appVersion are always the same.
16
- version : 0.1.63
17
- appVersion : 0.1.63
16
+ version : 0.1.64
17
+ appVersion : 0.1.64
Original file line number Diff line number Diff line change @@ -104,9 +104,13 @@ spec:
104
104
{{- if .Values.extraEnvVarsMap }}
105
105
{{- range $key, $val := .Values.extraEnvVarsMap }}
106
106
- name : {{ $key }}
107
+ {{- if (kindIs "map" $val ) }}
108
+ {{- include "nio-common.tplvalues.render" (dict "value" $val "context" $) | nindent 14 }}
109
+ {{- else }}
107
110
value : {{ include "nio-common.tplvalues.render" (dict "value" $val "context" $) | quote }}
108
111
{{- end }}
109
112
{{- end }}
113
+ {{- end }}
110
114
- name : POD_NAMESPACE
111
115
valueFrom :
112
116
fieldRef :
Original file line number Diff line number Diff line change @@ -389,6 +389,11 @@ extraEnvVars: []
389
389
# # E.g:
390
390
# # extraEnvVarsMap:
391
391
# # FOO: "bar"
392
+ # # FOO_SECRET:
393
+ # # valueFrom:
394
+ # # secretKeyRef:
395
+ # # name: secret
396
+ # # key: test
392
397
# #
393
398
extraEnvVarsMap : {}
394
399
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ maintainers:
13
13
14
14
name : DevOps
15
15
# Please make sure that version and appVersion are always the same.
16
- version : 1.0.11
17
- appVersion : 1.0.11
16
+ version : 1.0.12
17
+ appVersion : 1.0.12
Original file line number Diff line number Diff line change @@ -365,6 +365,11 @@ extraEnvVars: []
365
365
# # E.g:
366
366
# # extraEnvVarsMap:
367
367
# # FOO: "bar"
368
+ # # FOO_SECRET:
369
+ # # valueFrom:
370
+ # # secretKeyRef:
371
+ # # name: secret
372
+ # # key: test
368
373
# #
369
374
extraEnvVarsMap : {}
370
375
# # @param extraEnvVarsCM Name of existing ConfigMap containing extra env vars
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ maintainers:
12
12
13
13
name : DevOps
14
14
# Please make sure that version and appVersion are always the same.
15
- version : 0.1.39
16
- appVersion : 0.1.39
15
+ version : 0.1.40
16
+ appVersion : 0.1.40
Original file line number Diff line number Diff line change @@ -105,9 +105,13 @@ spec:
105
105
{{- if .Values.extraEnvVarsMap }}
106
106
{{- range $key, $val := .Values.extraEnvVarsMap }}
107
107
- name : {{ $key }}
108
+ {{- if (kindIs "map" $val ) }}
109
+ {{- include "nio-common.tplvalues.render" (dict "value" $val "context" $) | nindent 14 }}
110
+ {{- else }}
108
111
value : {{ include "nio-common.tplvalues.render" (dict "value" $val "context" $) | quote }}
109
112
{{- end }}
110
113
{{- end }}
114
+ {{- end }}
111
115
{{- if .Values.datadog }}
112
116
{{- include "nio-common.datadog.envs" (dict "value" .Values.datadog "context" $) | nindent 12 }}
113
117
{{- end }}
Original file line number Diff line number Diff line change @@ -363,6 +363,11 @@ extraEnvVars: []
363
363
# # E.g:
364
364
# # extraEnvVarsMap:
365
365
# # FOO: "bar"
366
+ # # FOO_SECRET:
367
+ # # valueFrom:
368
+ # # secretKeyRef:
369
+ # # name: secret
370
+ # # key: test
366
371
# #
367
372
extraEnvVarsMap : {}
368
373
You can’t perform that action at this time.
0 commit comments