summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
diff options
context:
space:
mode:
authorJack Lucas <jflos@sonoris.net>2022-05-10 15:22:35 +0000
committerGerrit Code Review <gerrit@onap.org>2022-05-10 15:22:35 +0000
commit145f52d1f9d06dd4f03fb19e579addeca82cec14 (patch)
tree63acda4076eec4dc0f82927a9e0161fe35a36e45 /kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
parent271560c6bc1e5ed027a7cc11683e6688c3bc56bf (diff)
parent26c1f7a9dd8abf48831c4ea494fc26a597a49930 (diff)
Merge "[HV-VES-STRIMZI] Migrate hv-ves to use strimzi kafka"
Diffstat (limited to 'kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl')
-rw-r--r--kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
index fbaaedf0dd..9781e33f1f 100644
--- a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
+++ b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
@@ -58,7 +58,7 @@ the the literal string "An example value".
{{- range $envName, $envValue := .Values.applicationEnv }}
{{- if kindIs "string" $envValue }}
- name: {{ $envName }}
- value: {{ $envValue | quote }}
+ value: {{ tpl $envValue $global | quote }}
{{- else }}
{{ if or (not $envValue.secretUid) (not $envValue.key) }}
{{ fail (printf "Env %s definition is not a string and does not contain secretUid or key fields" $envName) }}