Skip to content

fix(helm): make Istio metrics plugin optional#856

Draft
anishharis wants to merge 1 commit into
scaleapi:mainfrom
anishharis:anishharis/model-engine-disable-wasm
Draft

fix(helm): make Istio metrics plugin optional#856
anishharis wants to merge 1 commit into
scaleapi:mainfrom
anishharis:anishharis/model-engine-disable-wasm

Conversation

@anishharis

Copy link
Copy Markdown

Summary

  • add a real wasmPlugin.enabled Helm value, defaulting to true
  • omit the metrics-only Istio Telemetry and WasmPlugin resources when disabled
  • bump the chart version to 0.2.8

Why

The attributegen WASM binary is fetched from storage.googleapis.com. In airgapped or TLS-intercepted clusters that fetch can fail, and Istio's fail-closed fallback installs an empty RBAC filter that denies every request to Model Engine. Wrapper charts were already trying to set wasmPlugin.enabled: false, but the upstream chart ignored the value.

Validation

  • helm lint charts/model-engine -f charts/model-engine/values_sample.yaml
  • default render includes both Telemetry and WasmPlugin
  • render with --set wasmPlugin.enabled=false includes neither resource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant