UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 488f89f2 authored by Brett Charrier's avatar Brett Charrier Committed by Ryan Garcia
Browse files

Enable mTLS for Neuvector metrics

parent b7c77312
No related branches found
No related tags found
1 merge request!2564Enable mTLS for Neuvector metrics
......@@ -15,8 +15,6 @@ istio:
gateways:
- istio-system/{{ default "public" .Values.neuvector.ingress.gateway }}
injection: {{ ternary "enabled" "disabled" $istioInjection }}
mtls:
mode: PERMISSIVE
{{- if .Values.monitoring.enabled }}
monitoring:
......@@ -43,6 +41,15 @@ monitor:
enabled: true
serviceMonitor:
enabled: true
# conditional passes only for default istio: enabled, mTLS: SCRICT
{{- if and $istioInjection (eq (dig "istio" "mtls" "mode" "STRICT" .Values.neuvector.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 }}
svc:
enabled: true
type: ClusterIP
......
......@@ -590,7 +590,7 @@ neuvector:
git:
repo: https://repo1.dso.mil/platform-one/big-bang/apps/sandbox/neuvector.git
path: "./chart"
tag: "2.4.2-bb.2"
tag: "2.4.2-bb.3"
# -- Redirect the package ingress to a specific Istio Gateway (listed in `istio.gateways`). The default is "public".
ingress:
......
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