3

I am following the documentation in this page and towards the bottom there is this code

helm install docker-registry stable/docker-registry -f docker-configs.yaml

When i run it, i get this error

WARNING: This chart is deprecated Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "extensions/v1beta1"

Is there an update to this command or is there something that am missing?

Sean
  • 360
  • 3
  • 17

1 Answers1

1

This is the source of the chart that gets installed. The apiVersion there is set to extensions/v1beta1 and that has been deprecated. Try using https://github.com/twuni/docker-registry.helm

helm repo add twuni https://helm.twun.io && helm repo update helm install twuni/docker-registry -f docker-configs.yaml

After that, I got this error: Getting this error: Error: INSTALLATION FAILED: Ingress.extensions "docker-registry" is invalid: annotations.kubernetes.io/ingress.class: Invalid value: "nginx": can not be set when the class field is also set

Removing kubernetes.io/ingress.class: nginx from the docker-configs.yaml file helped me get rid of this error.

koala
  • 11
  • 1