Skip to content

Commit

Permalink
bugfix: opensearch update OPENSEARCH_HOSTS (#1342)
Browse files Browse the repository at this point in the history
(cherry picked from commit 900dfac)
  • Loading branch information
shanshanying committed Dec 19, 2024
1 parent e30add4 commit f9ed999
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion addons/opensearch/templates/cmpd-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
bash opensearch-dashboards-docker-entrypoint.sh opensearch-dashboards
env:
- name: OPENSEARCH_HOSTS
value: $(OPENSEARCH_HOST)
value: "https://$(OPENSEARCH_HOST):$(OPENSEARCH_SVC_PORT)"
- name: SERVER_HOST
value: "0.0.0.0"
startupProbe:
Expand Down Expand Up @@ -63,6 +63,14 @@ spec:
compDef: {{ include "opensearch.cmpdRegexpPattern" . }}
optional: false
host: Required
- name: OPENSEARCH_SVC_PORT
valueFrom:
serviceVarRef:
compDef: {{ include "opensearch.cmpdRegexpPattern" . }}
optional: false
port:
name: http
option: Required
services:
- name: default
spec:
Expand Down

0 comments on commit f9ed999

Please sign in to comment.