Update the Kubernetes release agent
Follow the steps on this page to update the CircleCI release agent installed in your Kubernetes cluster.
Refer to the CircleCI Changelog to find out about new release agent versioning, updates, and fixes.
Prerequisites
To update the Kubernetes release agent you need an operational CircleCI environment integrated with your Kubernetes cluster. Refer to the following pages for steps:
|
Upgrading to v1.6.0: Release agent v1.6.0 and Helm chart v1.6.0 introduce The release agent monitors the exact namespace names in To opt in to dynamic mode (glob-pattern namespace discovery), re-run |
Update steps
-
Update your local Helm cache:
helm repo update -
Upgrade to the new version:
helm upgrade --install circleci-release-agent-system release-agent/circleci-release-agent \ --set tokenSecret.token=[YOUR_CCI_INTEGRATION_TOKEN] --create-namespace \ --namespace circleci-release-agent-system \ --set managedNamespaces="{namespace1,namespace2}"If the agent was installed with the integration token stored in the Helm release, you can omit
--set tokenSecret.tokenon upgrade. Use--reuse-valueswhen applying a values file that does not include the token. Do not use--reset-valuesunless you also supply the token again. See Set up the CircleCI Release Agent for details on storing and managing integration tokens.