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.saltKeyon an existing installation: the credentials already stored with it become unreadable. temporal.numHistoryShardscannot 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-keyheader (x-mia-ai-gateway-key: Bearer sk-...), on every route, including/v1/*, the admin API and/mcp. A key sent inAuthorization,x-api-keyorx-litellm-api-keyno longer authenticates, soAuthorizationstays free for the caller's own token towards MCP upstreams. The header is set bylitellmProxy.config.general_settings.litellm_key_header_name, and the API gateway lets callers send it. secretStoreServicecan 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 setsecretStoreService.config.caCert.secretNameorsecretStoreService.config.caCert.configMapName(not both), withsecretStoreService.config.caCert.key(defaultca.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 emptykey.