-
Notifications
You must be signed in to change notification settings - Fork 687
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
Regression: Ambassador fails to start if there is an IngressClass resource in the cluster #3142
Comments
Hey there @vkamra, I built a Docker image for you from the PR in #3143 that should fix this issue. You're welcome to give it a try if you like: nfontes/ambassador:pull-3143 Thanks, and my apologies for the inconvenience! |
Thanks @impl . I did try this in a cluster and it appears to have fixed the issue. |
Leaving this open until a release ships with the fix. |
Describe the bug
Ambassador fails to start in a cluster that has an
IngressClass
resource (see [1] for log output).The error appears to be related to the logic here when working with IngressClasses - where the code calls
obj.namespace
which fails forIngressClass
because it is a cluster-scoped resource.This does not fail with Ambassador version 1.8.1 - I believe because the validation in
def namespace (self)
was only added in this commit.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ambassador startup is not impacted by
IngressClass
resourcesVersions (please complete the following information):
Additional context
Note - we are using
annotations
for Ambassador configuration instead of CRDs.Startup logs:
[1]
The text was updated successfully, but these errors were encountered: