Skip to content

fix: removing defaultBackend from Ingress#50896

Merged
vmuzikar merged 1 commit into
keycloak:mainfrom
shawkins:iss50892
Jul 21, 2026
Merged

fix: removing defaultBackend from Ingress#50896
vmuzikar merged 1 commit into
keycloak:mainfrom
shawkins:iss50892

Conversation

@shawkins

Copy link
Copy Markdown
Contributor

closes: #50892

closes: keycloak#50892

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
@shawkins
shawkins marked this pull request as ready for review July 14, 2026 21:03
@shawkins
shawkins requested review from a team as code owners July 14, 2026 21:03
Copilot AI review requested due to automatic review settings July 14, 2026 21:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the unnecessary Ingress-level default backend, addressing #50892.

Changes:

  • Removes spec.defaultBackend from generated Ingress resources.
  • Updates the integration test for the revised Ingress structure.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
KeycloakIngressDependentResource.java Stops generating the default backend.
KeycloakIngressTest.java Removes obsolete default-backend mutation and assertion.

@@ -244,7 +242,6 @@ public void testMainIngressDurability() {
assertEquals("HTTPS", i.getMetadata().getAnnotations().get("nginx.ingress.kubernetes.io/backend-protocol"));
assertEquals("passthrough", i.getMetadata().getAnnotations().get("route.openshift.io/termination"));
assertEquals("true", i.getMetadata().getAnnotations().get("haproxy.router.openshift.io/disable_cookies"));

@michalvavrik michalvavrik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vmuzikar vmuzikar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@vmuzikar
vmuzikar merged commit 5743ad6 into keycloak:main Jul 21, 2026
147 of 149 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the usage of Ingress default backend

4 participants