Why can't I install a new strongSwan Helm chart release?
Classic infrastructure
You modify your strongSwan Helm chart and try to install your new release by running helm install vpn iks-charts/strongswan -f config.yaml
. However, you see the following error:
Error: release vpn failed: deployments.extensions "vpn-strongswan" already exists
This error indicates that the previous release of the strongSwan chart was not completely uninstalled.
Delete and re-install the Helm chart.
- Delete the previous chart release.
helm uninstall vpn -n <project>
- Delete the deployment for the previous release. Deletion of the deployment and associated pod takes up to 1 minute.
oc delete deploy vpn-strongswan
- Verify that the deployment has been deleted. The deployment
vpn-strongswan
does not appear in the list.oc get deployments
- Re-install the updated strongSwan Helm chart with a new release name.
helm install vpn iks-charts/strongswan -f config.yaml