Upgrade the Argonix API
The argonix-api chart upgrades the API, frontend and enabled services such as workers and inference. Use the self-hosted installation guide for initial deployment.
Before upgrading
- Read the release notes from your installed version through the target. Check for database migrations, required values changes and Sensor compatibility.
- Record the current Helm revision with
helm history argonix -n argonix. Back up PostgreSQL and keep the values and deployment configuration used for that revision. Confirm you can restore the database before proceeding. - Check the target chart with
helm show chart argonix/argonix-api --version "$API_CHART_VERSION". Use the chart'sversionfor Helm and itsappVersionfor the application image tags. Update any explicit image tags in your values, including those for enabled frontend, inference, scanner and landing deployments.
Apply the upgrade
Use your existing release name, namespace and values file. The example selects chart 0.8.23. Set API_CHART_VERSION to your target version listed by helm search repo.
helm repo update argonix
helm search repo argonix/argonix-api --versions
API_CHART_VERSION='0.8.23'
helm show chart argonix/argonix-api --version "$API_CHART_VERSION"
helm upgrade argonix argonix/argonix-api \
--namespace argonix --version "$API_CHART_VERSION" \
--values argonix-values.yaml --wait --timeout 20m
For Argo CD, update the chart targetRevision in Git, then verify the rendered images, sync and resource health. With no effective shared image.tag or component tag override, Argonix images follow the selected chart's appVersion. Update any explicit image tag overrides in Git if they should move to the new release.
Set config.releaseChecksEnabled: false if the installation is offline. 0.8.23 release notes
If upgrading from a version earlier than 0.8.7, review its migration and connector configuration requirements. 0.8.7 release notes
If upgrading from a version earlier than 0.8.6, review the OpenVAS rollout and retention changes introduced in that release. OpenVAS defaults to enabled (networkScanner.enabled: true). Plan for its PVC (60 GiB in 0.8.6), memory and initial feed loading, or explicitly disable it in your values. Existing scopes still require scan activation. Supply a stable networkScanner.existingSecret when using Argo CD. To retain the previous 90-day edge window, set config.runtimeEdgeRetentionDays: 90 before the upgrade. 0.8.6 release notes
Verify and recover
helm status argonix -n argonix
kubectl -n argonix get jobs,pods
kubectl -n argonix rollout status deployment/argonix-argonix-api-api --timeout=10m
curl --fail --show-error https://api.example.com/health/
The pre-upgrade migration Job runs before the API rolls out. Verify that the frontend loads and that Beat and the enabled workers are ready. Check the installed API version in About on 0.8.1 and later, or in Help on 0.7.7 through 0.8.0.
If the rollout fails, inspect the migration Job and pod events. Use helm rollback only after confirming that the previous application version can run against the resulting database schema. For an incompatible migration, follow the target version's recovery instructions and restore a matching database backup when required.