aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/holmes/components/holmes-rule-mgmt/templates/deployment.yaml')
-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