-
Notifications
You must be signed in to change notification settings - Fork 85
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
retrieveUsedIngress: panic: runtime error: invalid memory address or nil pointer dereference #109
Comments
We are missing a validation that the field I'll add this patch in a bit. |
If you can describe the ingress and paste it here that would validate my assumption |
I have checked multiple ingresses by the oldest and most suspicious and all 5 I checked had the paths :( But we have like 100 ingresses and I'm not sure how to find the right one. This is the oldest one:
|
@northys Can you please run |
wow, i need to skill jq myself. good job! yes there are multiple of these... because nginx inc ingress supports something i call "chunks merging" which results in single ingress at the end. so yeah, there are many of these (the "master chunk" doesn't have paths and other "child chunks" just add their paths to it) (they call it mergeable type)
|
Perfect! |
@northys Please update if there is a further issue |
deployed to both clusters and works like a charm! thanks! |
Amazing! |
Describe the bug
I've deployed kor using helm provided in README and it worked in our test cluster (EKS 1.27), however it crashlooped on this error in our "legacy" EKS cluster (which runs 1.27 but is here with us for quite a while) on this error:
To Reproduce
We use https://github.com/nginxinc/kubernetes-ingress in production and we're trying ALB controller as ingress on test cluster. I've listed on ingresses in all namespaces and found it that some have class
<none>
. This may be helpful.Installed today (2023-10-19) using:
Expected behavior
No panic.
Screenshots
OS version, architecture and kor version
EKS 1.27 AWS managed AMI (Amazon Linux), kernel 5.10, amd64
Kor version: latest images as of 2023-10-19
Additional context
The text was updated successfully, but these errors were encountered: