summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-12-02 07:12:49 +0000
committerGerrit Code Review <gerrit@onap.org>2021-12-02 07:12:49 +0000
commitd5c6b2de688fd6a09dfe8dfb8d45be36a458bcaa (patch)
tree59ce88a79d069fe44027d6d95d1f98afa487d770 /kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
parent08d342b0691172265987fde48431de73cbfd9f55 (diff)
parentec09fd5a219e49e1be9eaddf9e2cb2f7f5d2f662 (diff)
Merge "[DCAEGEN2] Updates for R10"
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.tpl3
1 files changed, 3 insertions, 0 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 dd0bf4bd48..aac0f4b3a9 100644
--- a/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
+++ b/kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl
@@ -272,6 +272,9 @@ spec:
args:
- --key-yaml
- "{{ include "common.name" . }}|/app-config/application_config.yaml"
+ env:
+ - name: CONSUL_HOST
+ value: {{ .Values.consulHost | default "consul-server-ui" }}.{{ include "common.namespace" . }}
resources: {{ include "common.resources" . | nindent 2 }}
volumeMounts:
- mountPath: /app-config