8000 Operator uses a compatibility Job Pod’s exit status without checking its owner UID · Issue #55550 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
8000

Operator uses a compatibility Job Pod’s exit status without checking its owner UID #55550

Backlog

Description

@Pepo48

Describe the bug

With the Auto update strategy, the Keycloak Operator uses the compatibility Job Pod’s exit status to choose between a rolling update and recreating the deployment. It selects the Pod by namespace and labels without checking that the Pod’s controller owner UID matches the compatibility Job’s UID.

Version

Confirmed in the source for Keycloak Operator 26.8.2 and upstream main. A normal Auto update was also verified on 26.8.2.

Expected behavior

The Operator should use a Pod’s exit status only after confirming that the expected compatibility Job owns that Pod.

Actual behavior

The Operator checks that the compatibility Job belongs to the Keycloak resource, then reads the exit status from a Pod selected by the Job’s labels without verifying its owner UID. The verified normal update completed successfully. An incorrect update decision was not observed.

How to Reproduce?

Review the Pod lookup used by the Auto update compatibility check in 26.8.2 or upstream main. The source confirms the missing ownership check.


This issue was originally tracked in the private repository. Migrated by @Pepo48.

Activity

  1. added
    kind/bug
    priority/important
    area/operator
    on Nov 25, 2026
  2. added theissue type on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/operatorkind/bugpriority/importantteam/cloud-native

    Type

    Fields

    No fields configured for bug.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0