UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 526258e5 authored by Micah Nagel's avatar Micah Nagel
Browse files

Fix conditional on Keycloak mTLS metrics

parent 97ac2533
No related branches found
No related tags found
1 merge request!2216Fix conditional on Keycloak mTLS metrics
Pipeline #1054114 passed
......@@ -45,8 +45,8 @@ monitoring:
enabled: {{ .Values.monitoring.enabled }}
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.addons.keycloak.values) "STRICT") }}
# conditional passes only for default istio: enabled, mTLS: SCRICT, istio injection: enabled
{{- if and $istioInjection (eq (dig "istio" "mtls" "mode" "STRICT" .Values.addons.keycloak.values) "STRICT") }}
scheme: https
tlsConfig:
caFile: /etc/prom-certs/root-cert.pem
......
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