diff --git a/chart/templates/authservice/values.yaml b/chart/templates/authservice/values.yaml index 7950be8500a75866d70108d81f6fa8b4b804886c..b851f7aa833b9ff82016c669ee9a859329dfcacc 100644 --- a/chart/templates/authservice/values.yaml +++ b/chart/templates/authservice/values.yaml @@ -40,6 +40,18 @@ redis-bb: selector: app.kubernetes.io/name: redis-bb app.kubernetes.io/instance: authservice-authservice + # conditional passes only if all conditionals are true: + # - istio: enabled + # - mTLS: SCRICT + # - istio injection: enabled (for logging ns) + {{- if and .Values.istio.enabled (eq (dig "istio" "mtls" "mode" "STRICT" .Values.addons.authservice.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 + {{- end }} prometheusRule: enabled: true namespace: monitoring diff --git a/chart/values.yaml b/chart/values.yaml index 74b1c9b65f9002e1035dacf398702a0facf5cd62..fcc5d2626bfb93e4fed137e5f5235ae0fde8cd4f 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -797,7 +797,7 @@ addons: git: repo: https://repo1.dso.mil/platform-one/big-bang/apps/core/authservice.git path: "./chart" - tag: "0.5.2-bb.0" + tag: "0.5.2-bb.1" # -- Flux reconciliation overrides specifically for the Authservice Package flux: {}