-
-
Notifications
You must be signed in to change notification settings - Fork 117
Use different apiVersion for Ingress depending on the K8s version #331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I'm trying to understand the motivation behind this change: |
|
I get the following error message while deploying to a newer version of kubernetes: no matches for kind "Ingress" in version "networking.k8s.io/v1beta1" ensure CRDs are installed first While i don't get this error in any other helm chart |
|
What version of kubernetes are you using? |
|
These are my version numbers: Client Version: v1.24.4+k3s1 |
|
Alternative can be to allow for configuring the ingress version like so {{- if .Values.ingress.apiVersion -}}
{{- .Values.ingress.apiVersion -}} |
|
What version of helm are you using? Looking at https://helm.sh/docs/chart_template_guide/builtin_objects/ I don't see Could you create a helm chart or add a template that has something like this? It's really weird that your k8s cluster is saying it doesn't have |
|
I'm deploying this in AWS EKS right now and I get the same error while deploying. |
|
@bertyah could you please get the list of API versions that helm sees with your cluster? Something like this: |
|
|
|
@bertyah and @TNAJanssen How are you running helm? Are you running it with ArgoCD or something. |
|
FWIW, I have successfully deployed ingress resource with ALB in AWS using EKS. |
|
Yes. The chart should be using |
|
Just to clarify, I am using the chart from helm.stackstorm.com which I believe is 0.100.0 |
Are you manually running helm? Or is some other tool responsible for running helm for you? I'm thinking of tools like Ansible, StackStorm, ArgoCD, Jenkins, Pantsbuild, ... I use some simple shell wrappers around helm so that I can run it the same way every time. Do you do something similar? If you are manually running helm, where do you run it? In a linux VM? A Mac laptop? WSL2 on Windows? |
|
@cognifloyd |
No description provided.