You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keycloak fails to start when its cache file comes from a missing optional ConfigMap #55549
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