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

Posted March 24, 2020 2.3k views
WordPressDigitalOcean 1-Click Apps MarketplaceKubernetes

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?

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.

Submit an Answer
1 answer
Show answer This answer has been marked as resolved by frankoonk.