Skip to content

Commit 5578fe4

Browse files
committed
use localhost for websocket IP
1 parent be733c8 commit 5578fe4

3 files changed

Lines changed: 2 additions & 10 deletions

File tree

charts/memgraph-high-availability/templates/_helpers.tpl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ Expects dict with: ctx (root context), role ("data" or "coordinator").
199199
sources:
200200
memgraph_logs:
201201
type: websocket
202-
uri: "ws://{{ "$" }}{{ "{POD_IP}" }}:{{ $v.websocketPort }}"
202+
uri: "ws://127.0.0.1:{{ $v.websocketPort }}"
203203

204204
transforms:
205205
enrich:
@@ -286,10 +286,6 @@ Expects dict with: ctx (root context), role ("data" or "coordinator").
286286
valueFrom:
287287
fieldRef:
288288
fieldPath: metadata.namespace
289-
- name: POD_IP
290-
valueFrom:
291-
fieldRef:
292-
fieldPath: status.podIP
293289
{{- if $v.auth.secretName }}
294290
- name: MONITORING_USERNAME
295291
valueFrom:

charts/memgraph/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ data_dir: /tmp/vector-data
126126
sources:
127127
memgraph_logs:
128128
type: websocket
129-
uri: "ws://{{ "$" }}{{ "{POD_IP}" }}:{{ .Values.service.websocketPortMonitoring }}"
129+
uri: "ws://127.0.0.1:{{ .Values.service.websocketPortMonitoring }}"
130130

131131
transforms:
132132
enrich:

charts/memgraph/templates/statefulset.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,6 @@ spec:
188188
valueFrom:
189189
fieldRef:
190190
fieldPath: metadata.namespace
191-
- name: POD_IP
192-
valueFrom:
193-
fieldRef:
194-
fieldPath: status.podIP
195191
{{- if .Values.vectorRemote.auth.secretName }}
196192
- name: MONITORING_USERNAME
197193
valueFrom:

0 commit comments

Comments
 (0)