I moved from networking.k8s.io/v1betav1 to networking.k8s.io/v1. and i cannot manage to make ingress work.
The terraform plan keeps failing although I check the troubleshoting guide from https://kubernetes.github.io/ingress-nginx/troubleshooting/ specifically at these lines:
$ curl --cacert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt -H "Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" https://kubernetes.default.svc.cluster.local && echo
but connection cannot be established still getting a 403
I checked at the configuration of kubectl and it looks that this is still using v1betav1
however this configuration I got kubconfig I got from the cluster… so I dont really get why is not v1
there…
any hint will be highly appreaciated
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!
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.
Hi there,
Is it possible for you to share the complete YAML file? It is possible that only changing the version might not work out of the box without some changes.
For example, here are some of the notable changes:
spec.backend
is renamed tospec.defaultBackend
serviceName
field is renamed toservice.name
servicePort
fields are renamed toservice.port.number
servicePort
fields are renamed toservice.port.name
pathType
is now required for each specified path. Options are Prefix, Exact, and ImplementationSpecific. To match the undefined v1beta1 behavior, use ImplementationSpecific.Best,
Bobby