UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 704c9233 authored by Brett Charrier's avatar Brett Charrier Committed by Micah Nagel
Browse files

Resolve "Enable mTLS for Twistlock metrics"

parent 0690fbbc
No related branches found
No related tags found
1 merge request!2104Resolve "Enable mTLS for Twistlock metrics"
......@@ -10,6 +10,17 @@ openshift: {{ .Values.openshift }}
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.twistlock.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 }}
imagePullSecrets:
- name: private-registry
......
......@@ -675,7 +675,7 @@ twistlock:
git:
repo: https://repo1.dso.mil/platform-one/big-bang/apps/security-tools/twistlock.git
path: "./chart"
tag: "0.10.0-bb.1"
tag: "0.10.0-bb.2"
# -- Flux reconciliation overrides specifically for the Twistlock 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