UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 3478c20a authored by Brett Charrier's avatar Brett Charrier
Browse files

monolith too

parent 412c7954
No related branches found
No related tags found
1 merge request!2009Loki: mTLS STRICT for metrics
Pipeline #951043 passed
......@@ -63,6 +63,14 @@ monolith:
enabled: {{ eq .Values.loki.strategy "monolith" }}
serviceMonitor:
enabled: {{ .Values.monitoring.enabled }}
{{- if and .Values.istio.enabled (eq (dig "istio" "mtls" "mode" "STRICT" .Values.loki.values) "STRICT") }}
scheme: https
tlsConfig:
caFile: /etc/prom-certs/root-cert.pem
certFile: /etc/prom-certs/cert-chain.pem
keyFile: /etc/prom-certs/key.pem
insecureSkipVerify: true # Prometheus does not support Istio security naming, thus skip verifying target pod certificate
{{- end }}
{{- if (eq .Values.loki.strategy "monolith") }}
read:
disabled: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment