FFFF Keycloak fails to start when its cache file comes from a missing optional ConfigMap · Issue #55549 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Keycloak fails to start when its cache file comes from a missing optional ConfigMap #55549

Backlog

Description

@Pepo48

Describe the bug

The Keycloak Operator allows spec.cache.configMapFile to reference an optional ConfigMap. Kubernetes can mount an empty volume when that ConfigMap is absent, but Keycloak still requires the configured cache file at startup. An update can therefore replace a healthy Pod with one that fails to start.

Version

main

Expected behavior

Document that the cache file is required even when the ConfigMap volume is optional. If the configured file is missing, the Operator should report the configuration error before replacing a healthy Pod.

Actual behavior

With the referenced ConfigMap absent, the Operator rolled out a replacement Pod that failed to start because the configured file was missing. After the ConfigMap was populated with a valid cache configuration, the Operator reconciled the StatefulSet and Keycloak returned to Ready.


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

Activity

  1. added
    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/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