Repository navigation
Support FIPS 140-3 in the Keycloak Operator #55534
Description
For Keycloak 27, support running the Keycloak Operator on FIPS-enabled Kubernetes worker nodes with the controller’s security-sensitive cryptographic operations provided by FIPS 140-3 validated modules in approved mode. This includes TLS connections to the Kubernetes API, TLS and optional mutual TLS connections to the Keycloak Admin API, and generation of bootstrap administrator credentials. The Operator runs in its own JVM, so its image and provider configuration need to be qualified independently of the server. Operator image · Admin API TLS · Bootstrap credential generation
Verify that the Operator can deploy and upgrade the server configuration defined in #49820. Start with the existing spec.image and spec.scheduling fields. Consider a CRD change only if testing identifies a requirement those fields cannot express.
Acceptance criteria
- Qualify the controller image. Document the supported Operator image, JDK, worker-node requirements, cryptographic module versions, and applicable CMVP certificates. On a FIPS-enabled worker, verify which providers the running controller uses for TLS and secure random generation and how to confirm approved mode.
- Exercise controller operations. Verify that the Operator can reconcile a
Keycloakresource through the Kubernetes API, generate a usable bootstrap administrator credential, and reconcile a client through the Keycloak Admin API over TLS and mutual TLS. Confirm that the cryptographic operations use the modules identified for the controller. - Deploy the server and run its Jobs. Deploy the qualified strict-mode server image through
spec.image. Verify server readiness, the server provider’s approved-mode status, HTTPS withspec.http.tlsSecret, and outbound trust withspec.truststores. Run a realm import and anAutoupdate compatibility check. Confirm that the server pods and both Jobs run on eligible workers. - Verify the 26.x upgrade. Upgrade an Operator-managed Keycloak 26.x strict-mode instance to the supported KC 27 Operator and server configuration. Verify that the Operator performs a recreate update, resumes reconciliation, and reports the server as
Ready. Confirm that an existing user can sign in and that TLS works with the configured Secrets. Operator update strategies - Publish installation and upgrade instructions. Provide a tested example that shows how to install and place the Operator itself on eligible workers, how to place the server pods and Jobs through the
Keycloakresource, and how to verify approved mode in each process. Document the upgrade order, expected downtime, and changes required for deployments that previously relied on FIPS 140-2.
Metadata
Metadata
Assignees
Type
Fields
Projects
- StatusShow more project fieldsOpen
Activity
abstractj commentedon Nov 25, 2026
@vmuzikar please review with your team if the scope makes sense. Feel free to make any adjustments you would like.
[-]Support FIPS 140-3 in the Keycloak Operator and the servers it manages[/-][+]Support FIPS 140-3 in the Keycloak Operator[/+]