UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit d54a5682 authored by Branden Cobb's avatar Branden Cobb
Browse files

Merge branch 'fix-j-svcm' into 'master'

Fix Jaeger SvcMonitor conditional placement

Closes #1307

See merge request platform-one/big-bang/bigbang!2098
parents e76cc576 cc4263a4
No related branches found
No related tags found
1 merge request!2098Fix Jaeger SvcMonitor conditional placement
Pipeline #985646 passed with warnings
......@@ -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