Skip to main content
Version: 15.2.2

How to Upgrade the AI Services chart

To upgrade the ai-services chart, update the chart version and run helm upgrade.

tip

Always review the chart changelog before upgrading. On every upgrade the temporal-schema-setup Job runs as a pre-upgrade hook and applies Temporal's schema migrations; it is safe to re-run.

caution
  • Temporal guarantees data compatibility only between consecutive minor versions. When an upgrade changes the Temporal server image (temporal.image.tag) on a cluster with data to keep, move one minor version at a time.
  • Never change secrets.litellmProxyKeys.saltKey on an existing installation: the credentials already stored with it become unreadable.
  • temporal.numHistoryShards cannot be changed after the first install.

Direct chart upgrade​

If you installed the chart directly:

helm repo update

helm upgrade ai-services mia-platform/ai-services \
--version <CHART_VERSION> \
--namespace ai-services \
--values values.yaml \
--atomic \
--timeout 10m

Upgrade via the ai-services-deployment wrapper​

If you use the ai-services-deployment wrapper repository, update the chart version constraint in Chart.yaml:

dependencies:
- name: ai-services
alias: aiServices
version: ">=0.1.0-0 <0.2.0" # ← bump to the new target version constraint
repository: "https://nexus.mia-platform.eu/repository/helm-internal/"

Then update and deploy:

helm dependency update

helm upgrade ai-services . \
--namespace ai-services \
--values values.yaml \
--values values/<env>.yaml \
--values <encrypted-secrets-values-file> \
--atomic \
--timeout 10m

Version-specific upgrade notes​

From 0.1.0 to 0.1.1 (Mia-Platform v15.2.0 to v15.2.1)​

No manual action required: install the new chart version.

Also note:

  • LiteLLM Proxy now reads the virtual or admin key only from the x-mia-ai-gateway-key header (x-mia-ai-gateway-key: Bearer sk-...), on every route, including /v1/*, the admin API and /mcp. A key sent in Authorization, x-api-key or x-litellm-api-key no longer authenticates, so Authorization stays free for the caller's own token towards MCP upstreams. The header is set by litellmProxy.config.general_settings.litellm_key_header_name, and the API gateway lets callers send it.
  • secretStoreService can now trust a secret store whose TLS certificate is issued by an internal CA. Put the PEM bundle in a Secret or a ConfigMap and set secretStoreService.config.caCert.secretName or secretStoreService.config.caCert.configMapName (not both), with secretStoreService.config.caCert.key (default ca.crt). The CA is trusted on top of the system roots. The chart refuses to render when both names are set, or when a name is set with an empty key.