How do i upgrade a helm chart (bitnami/wordpress) that is installed with a one-click app on Kubernetes?

I want to upgrade the Helm Chart bitnami/wordpress on my DO live Kubernetes pod in the namespace “wordpress”, where the bitnami/wordpress chart is deployed. Because it installs version Helm Chart

I’ve installed WordPress on Kubernetes with the 1-click install and everything is working fine. I can access my WordPress url via the loadbalancer, kubectl & doctl are able to communicate with the live Kubernetes cluster. So, I’ve installed helm v3.1.2. on my local machine (MacOs) and add the bitnami repo. When i enter: helm search repo, i get the list of repositories.

But, when i try to install the chart:

helm install --namespace wordpress wordpress bitnami/wordpress

It says:

Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: namespace: wordpress, name: wordpress-mariadb, existing_kind: /v1, Kind=Secret, new_kind: /v1, Kind=Secret

And when i try to upgrade the chart:

helm upgrade --namespace wordpress wordpress bitnami/wordpress

It says:

Error: UPGRADE FAILED: "wordpress" has no deployed releases


How can i upgrade the standard Wordpress helm chart on my live DO Kubernetes pod? / Sync the charts that are deployed live, with my local machine?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Well i tried a couple of things like e.g. the helm 2to3 plugin, (because the Helm Chart WordPress in the 1-click install, was installed with helm 2/tiller and i use helm 3). So, i ended up deleting al the pods and the wordpress namespace en installing the bitnami/wordpress chart by myself :-)