Skip to content

Commit 8da73b3

Browse files
committed
docs(operations): match the Keycloak guide to the required DEK set
The keycloak chart now refuses to enable encryption without encryption.deksetSecretName, so describe that instead of a default to avoid. Assisted-by: LLM Signed-off-by: Andrei Kvapil <[email protected]>
1 parent 5c52ecd commit 8da73b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎content/en/docs/next/operations/encryption/keycloak.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Everything else is stored as before. In the admin console, a search by username
2525
Encrypted values start with the `$KKP$` marker.
2626

2727
{{% alert color="warning" %}}
28-
Always set `encryption.deksetSecretName`. Without it, the proxy generates a new DEK every time it starts and keeps it only in memory, so after a restart of the proxy pod it can no longer decrypt anything it has encrypted before.
28+
The proxy needs a persistent DEK set, `encryption.deksetSecretName`. Without one it would generate a new DEK every time it starts and keep it only in memory, so after a restart of the proxy pod it could no longer decrypt anything it had encrypted before. The chart refuses to enable encryption without it.
2929
{{% /alert %}}
3030

3131
## Prerequisites
@@ -164,7 +164,7 @@ kubectl apply --server-side --filename keycloak-package.yaml
164164
flux resume helmrelease keycloak --namespace cozy-keycloak
165165
```
166166

167-
Flux deploys the proxy and updates Keycloak to point at it. If the `keycloak` StatefulSet stays at zero replicas afterwards, scale it back with `kubectl --namespace cozy-keycloak scale statefulset keycloak --replicas="$REPLICAS"`. With a shared DEK set the proxy can run more than one replica; without `deksetSecretName`, `replicas` above 1 is refused.
167+
Flux deploys the proxy and updates Keycloak to point at it. If the `keycloak` StatefulSet stays at zero replicas afterwards, scale it back with `kubectl --namespace cozy-keycloak scale statefulset keycloak --replicas="$REPLICAS"`. Because the DEK set is shared, the proxy can run more than one replica.
168168

169169
If Vault uses a private CA, add it as `encryption.kms.vault.caBundle` (PEM), or reference an existing Secret with `encryption.kms.vault.caSecretName` and `caSecretKey`.
170170

0 commit comments

Comments
 (0)