Skip to content

Commit 3a6368c

Browse files
committed
chore(charts): change prometheus url
1 parent 5c03e22 commit 3a6368c

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

charts/grafana/templates/_helpers.tmpl

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,8 @@ env:
99
- name: "PROMETHEUS_URL"
1010
value: "{{ .Values.prometheusUrl }}"
1111
{{- else if .Values.prometheus.enabled }}
12-
- name: "PROMETHEUS_USERNAME"
13-
valueFrom:
14-
secretKeyRef:
15-
name: prometheus-creds
16-
key: username
17-
- name: "PROMETHEUS_PASSWORD"
18-
valueFrom:
19-
secretKeyRef:
20-
name: prometheus-creds
21-
key: password
2212
- name: "PROMETHEUS_URL"
23-
value: "http://$(PROMETHEUS_USERNAME):$(PROMETHEUS_PASSWORD)@drycc-prometheus.{{$.Release.Namespace}}.svc.{{$.Values.global.clusterDomain}}:9090"
13+
value: "http://drycc-victoriametrics-vmselect.{{$.Release.Namespace}}.svc.{{$.Values.global.clusterDomain}}:8481/select/0/prometheus"
2414
{{- end }}
2515
- name: "BIND_PORT"
2616
value: "3000"

0 commit comments

Comments
 (0)