8000 Realm import and update compatibility Jobs inherit server Secret references · Issue #55548 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
< 8000 turbo-frame id="repo-content-turbo-frame" target="_top" data-turbo-action="advance" class="">
8000

Realm import and update compatibility Jobs inherit server Secret references #55548

Backlog

Description

@Pepo48

Describe the bug

The Keycloak Operator reuses the server Pod template for realm import and automatic update compatibility Jobs. As a result, these Jobs inherit Secret references and volume mounts intended for the long-running server.

Version

main (verified with Keycloak Operator 26.8.2)

Expected behavior

Each Job should receive only the Secret references and mounts its command requires. Realm import needs database access. The update compatibility check can compare installation metadata without database credentials. Neither Job needs bootstrap administrator credentials or the server TLS Secret.

Actual behavior

The generated realm import Job and both containers in the update compatibility Job inherit database and bootstrap administrator Secret references and mount the server TLS Secret. This makes credentials available to Job containers that do not need them.


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

Activity

  1. added theissue type on Nov 25, 2026
  2. added
    area/operator
    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/weaknesspriority/importantteam/cloud-native

    Fields

    No fields configured for weakness.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0