-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Fix nilpointer in admission and remove failing test #7255
Fix nilpointer in admission and remove failing test #7255
Conversation
/kind bug |
/hold |
…ckend ingress Signed-off-by: Ricardo Pchevuzinske Katz <[email protected]>
d46b7ce
to
9aff9ba
Compare
/assign I will follow up on this PR today or tomorrow. |
Signed-off-by: Ricardo Pchevuzinske Katz <[email protected]>
/hold cancel |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rikatz, strongjz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Ricardo Pchevuzinske Katz [email protected]
What this PR does / why we need it:
Admission webhook is used to validate conflicts between ingresses, but it fails to validate when a user tries to add a new ingress with no host and path /, as there's already in its structs a reference with Default Backend, that does not contain any ingress object inside location.Ingress (nil)
Types of changes
Which issue/s this PR fixes
Fixes #7198
How Has This Been Tested?
Created the controller, deployed multiple ingress specs.
Validated that: