From 2965b40e07d44b14595d5f0d0705cd838fe1360d Mon Sep 17 00:00:00 2001 From: Anish Haris Date: Thu, 16 Jul 2026 03:50:47 -0400 Subject: [PATCH] fix(helm): make Istio metrics plugin optional --- charts/model-engine/Chart.yaml | 2 +- charts/model-engine/templates/istio-metrics.yaml | 2 +- charts/model-engine/values.yaml | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/charts/model-engine/Chart.yaml b/charts/model-engine/Chart.yaml index 0fe620d0b..06c16fca5 100644 --- a/charts/model-engine/Chart.yaml +++ b/charts/model-engine/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.7 +version: 0.2.8 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/model-engine/templates/istio-metrics.yaml b/charts/model-engine/templates/istio-metrics.yaml index 4f19cf732..18806267d 100644 --- a/charts/model-engine/templates/istio-metrics.yaml +++ b/charts/model-engine/templates/istio-metrics.yaml @@ -1,4 +1,4 @@ -{{- if empty .Values.azure }} +{{- if and (empty .Values.azure) .Values.wasmPlugin.enabled }} apiVersion: telemetry.istio.io/v1alpha1 kind: Telemetry metadata: diff --git a/charts/model-engine/values.yaml b/charts/model-engine/values.yaml index 15ba6bf97..ab262c98d 100644 --- a/charts/model-engine/values.yaml +++ b/charts/model-engine/values.yaml @@ -7,6 +7,12 @@ datadog: # Set per-cluster (e.g. "sgp-dev") so pods report the cluster's real environment. env: "" +# wasmPlugin controls the Istio attributegen plugin used only to enrich request +# metrics. Disable it in airgapped or TLS-intercepted clusters where the remote +# WASM binary cannot be fetched safely. +wasmPlugin: + enabled: true + spellbook: enabled: false