From c6448eb53a0ca921d0a061f02b10d225a76af574 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Mon, 6 Dec 2021 15:33:44 +0100 Subject: [HOLMES] Use direct name for consul Holmes used to use external service name created by dcae bootstrap. As it's not created anymore by default, we need to give the right value for it. Issue-ID: DCAEGEN2-2968 Issue-ID: DCAEGEN2-2958 Issue-ID: DCAEGEN2-2983 Signed-off-by: Sylvain Desbureaux Change-Id: I07ca710c78401c8c4bfafda5673a50f7831bebf7 --- .../holmes/components/holmes-rule-mgmt/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kubernetes/holmes/components/holmes-rule-mgmt') diff --git a/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml b/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml index d757b75d68..19ccbc0cdc 100644 --- a/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml +++ b/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml @@ -30,6 +30,9 @@ spec: - name: init-consul image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.consulLoaderImage }} imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} + env: + - name: CONSUL_HOST + value: {{ .Values.consulHost | default "consul-server-ui" }}.{{ include "common.namespace" . }} args: - --key - holmes-rule-mgmt|/hrmconfigs/cfy.json -- cgit 1.2.3-korg