diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-12-07 09:19:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-12-07 09:19:41 +0000 |
commit | 71a47c57fa84a36bb12bf3b87ad0d18b142c8d37 (patch) | |
tree | fa904ee72633153428e7896fa85cb5062815e7f4 | |
parent | 29903c3548a8d64088432feee9228bc6ba3d30fc (diff) | |
parent | c6448eb53a0ca921d0a061f02b10d225a76af574 (diff) |
Merge "[HOLMES] Use direct name for consul"
-rw-r--r-- | kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml | 3 | ||||
-rw-r--r-- | kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml b/kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml index 45c268c6b6..b625f6d72e 100644 --- a/kubernetes/holmes/components/holmes-engine-mgmt/templates/deployment.yaml +++ b/kubernetes/holmes/components/holmes-engine-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-engine-mgmt|/hemconfig/cfy.json 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 |