powerdns-helm
powerdns-helm copied to clipboard
Error: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2"]
An error occurs
root@master0:/home/user/powerdns-helm# helm install powerdns .
Error: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2"]
How to fix it?
Hello @vldanch
There are two problems with this Helm chart.
First of all, it uses an outdated mariadb helm chart.
To fix I've changed the requirements.yaml
file with :
dependencies:
- name: mariadb
version: 7.10.3
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled
Then run :
helm dependency update ./
This is what you shoud get :
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "codecentric" chart repository
...Successfully got an update from the "jetstack" chart repository
...Successfully got an update from the "incubator" chart repository
...Successfully got an update from the "bitnami" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading mariadb from repo https://charts.bitnami.com/bitnami
Deleting outdated charts
The second problem beeing the deployment.yaml
file in the templates folder. It uses an old version of the Kubernetes API, to fix it you should replace apiVersion: apps/v1beta2
by apiVersion: apps/v1