Uninstall GridOS Connect with Helm

This section describes how to uninstall GridOS Connect and its dependent components using Helm. You may need to uninstall the Connect components when performing a full redeployment to ensure a clean state.

Uninstalling Connect will remove all associated resources (databases, metrics, and openbao data if selected). Make sure you have valid backups before proceeding. This action is irreversible.

Uninstall Connect

Run the following command to uninstall the main Connect service:

helm uninstall -n foundation-env-default connect

Uninstall Connect PostgreSQL

If your deployment uses the bundled PostgreSQL instance, uninstall it as follows:

helm uninstall -n foundation-env-default connect-postgresql
This command deletes all Connect databases. Make sure you have created backups if you want to restore your data later.

Uninstall Connect Victoria Metrics

If your deployment uses VictoriaMetrics, uninstall it with:

helm uninstall -n foundation-env-default connect-victoria-metrics
kubectl delete -n foundation-env-default secret/connect-vm-auth-config pvc/server-volume-victoria-metrics-server-0
Deleting the persistent volume claim will permanently remove VictoriaMetrics data. Make sure you have created backups if you want to restore your data later.

Uninstall Connect Vault

If your deployment uses Vault for secret management, uninstall it with:

helm uninstall -n foundation-env-default vault
kubectl delete -n foundation-env-default secret/vault-unseal-login pvc/data-vault-{0..2}
Deleting the persistent volume claim will permanently remove Vault data. Make sure you have created backups if you want to restore your data later.

Uninstall Connect OpenBao

If your deployment uses OpenBao for secret management, uninstall it with:

helm uninstall -n foundation-env-default connect-openbao
kubectl delete -n foundation-env-default secret/connect-openbao-unseal-login pvc/data-connect-openbao-{0..2} pvc audit-connect-openbao-{0..2}
Deleting the persistent volume claim will permanently remove OpenBao data. Make sure you have created backups if you want to restore your data later.