UNCLASSIFIED - NO CUI

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

Fix Jaeger SvcMonitor conditional placement

parent e76cc576
No related branches found
No related tags found
1 merge request!2098Fix Jaeger SvcMonitor conditional placement
Pipeline #984775 passed
......@@ -28,16 +28,16 @@ annotations:
monitoring:
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.jaeger.values) "STRICT") }}
serviceMonitor:
# conditional passes only for default istio: enabled, mTLS: SCRICT
{{- if and .Values.istio.enabled (eq (dig "istio" "mtls" "mode" "STRICT" .Values.jaeger.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 }}
elasticsearch:
enabled: {{ .Values.logging.enabled }}
......
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