UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 68664931 authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Merge branch 'enable-mTLS-for-loki' into 'master'

Loki: mTLS STRICT for metrics

Closes platform-one/big-bang/apps/sandbox/loki#25 and platform-one/big-bang/apps/sandbox/loki#24

See merge request platform-one/big-bang/bigbang!2009
parents a87537d9 00891d00
No related branches found
No related tags found
1 merge request!2009Loki: mTLS STRICT for metrics
Pipeline #953599 passed with warnings
......@@ -24,6 +24,15 @@ monitoring:
{{- if (eq .Values.loki.strategy "scalable") }}
serviceMonitor:
enabled: {{ .Values.monitoring.enabled }}
# conditional passes only for default istio: enabled, mTLS: SCRICT
{{- 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 }}
{{- end }}
istio:
......@@ -55,6 +64,15 @@ monolith:
enabled: {{ eq .Values.loki.strategy "monolith" }}
serviceMonitor:
enabled: {{ .Values.monitoring.enabled }}
# conditional passes only for default istio: enabled, mTLS: SCRICT
{{- 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
......
......@@ -509,7 +509,7 @@ loki:
git:
repo: https://repo1.dso.mil/platform-one/big-bang/apps/sandbox/loki.git
path: "./chart"
tag: "1.7.6-bb.2"
tag: "1.8.10-bb.1"
# -- Flux reconciliation overrides specifically for the Loki Package
flux: {}
......
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