Skip to content

Conversation

bubylou
Copy link
Contributor

@bubylou bubylou commented Jan 9, 2025

I encountered an error creating an ingress with this chart saying no matches for kind "Ingress" in version "networking.k8s.io/v1beta1". This appears to be an issue with this snippet checking the Kubernetes API version then setting the ingress API version. In my case I use K3S which has version like v1.31.2+k3s1 which does not work with this check and incorrectly set the ingress versions to networking.k8s.io/v1beta1. Since that ingress version was dropped in 1.19 which came out in 2020 I thought it would be simpler to just drop support for 1.19 and lower and hard set the v1 API version. I have tested this change on my cluster then was able to create an ingress as expected.

Fixes #88 and #58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No matches for kind "Ingress" in version "networking.k8s.io/v1beta1"
1 participant