File tree Expand file tree Collapse file tree
memgraph-high-availability/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{{- if $.Values.vmagentRemote.enabled }}
2+ {{- if not $.Values.prometheus.enabled }}
3+ {{- fail "vmagentRemote.enabled requires prometheus.enabled=true because vmagentRemote scrapes mg-exporter" }}
4+ {{- end }}
25{{- $namespace := $.Values.vmagentRemote.namespace | default $.Values.prometheus.namespace }}
36{{- $exporterNamespace := $.Values.prometheus.namespace }}
47{{- if and $.Values.vmagentRemote.remoteWrite.basicAuth.secretName (not $.Values.vmagentRemote.remoteWrite.basicAuth.usernameKey) }}
Original file line number Diff line number Diff line change 11{{- if .Values.vmagentRemote.enabled }}
2+ {{- if not .Values.prometheus.enabled }}
3+ {{- fail "vmagentRemote.enabled requires prometheus.enabled=true because vmagentRemote scrapes mg-exporter" }}
4+ {{- end }}
25{{- $namespace := .Values.vmagentRemote.namespace | default .Values.prometheus.namespace }}
36{{- $exporterNamespace := .Values.prometheus.namespace }}
47{{- if and .Values.vmagentRemote.remoteWrite.basicAuth.secretName (not .Values.vmagentRemote.remoteWrite.basicAuth.usernameKey) }}
You can’t perform that action at this time.
0 commit comments