summaryrefslogtreecommitdiffstats
path: root/kubernetes/holmes/components/holmes-rule-mgmt
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-12-07 09:19:41 +0000
committerGerrit Code Review <gerrit@onap.org>2021-12-07 09:19:41 +0000
commit71a47c57fa84a36bb12bf3b87ad0d18b142c8d37 (patch)
treefa904ee72633153428e7896fa85cb5062815e7f4 /kubernetes/holmes/components/holmes-rule-mgmt
parent29903c3548a8d64088432feee9228bc6ba3d30fc (diff)
parentc6448eb53a0ca921d0a061f02b10d225a76af574 (diff)
Merge "[HOLMES] Use direct name for consul"
Diffstat (limited to 'kubernetes/holmes/components/holmes-rule-mgmt')
-rw-r--r--kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml3
1 files changed, 3 insertions, 0 deletions
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