Kanidm: migrate hand-rolled deployment to kaniop operator #1520

Closed
opened 2026-08-07 19:17:20 +00:00 by ginjiruu · 1 comment
Owner

Part of the "Vault IaC" milestone and blocks #1515 Q17 (Kanidm OIDC write path for manual Vault secrets).

Migrate the hand-rolled Kanidm StatefulSet (generic-templates/kanidm/, portable) to the kaniop operator (v0.11.1, Helm OCI chart). kaniop manages the Kanidm server AND declarative identity (persons, groups, OAuth2 clients) — the vault OAuth2 client and vault_superadmins group become kaniop CRs.

Plan + verified facts: plans/kanidm-operator-migration.md.

Key points:

  • Same server version (kanidm/server 1.10.4) makes a Kanidm-native backup/restore the data path — kaniop cannot adopt the existing PVC (volumeClaimTemplate creates new PVCs only, no existing-claim reference).
  • Reuse auth-animeteamspeak-moe-tls via tlsSecretName; drop the nginx sidecar (kaniop serves HTTPS on :8443); replace ListenerSet+HTTPRoute with kaniop gateway config.
  • LDAP (ldaps :3636) consumed by opencloud must survive.

Open items to verify (human): kaniop identity-CR adoption semantics after restore; kgateway BackendTLSPolicy; LDAP PROXYv2 env surface; restore procedure; AGPL-3.0 license.

Part of the "Vault IaC" milestone and blocks #1515 Q17 (Kanidm OIDC write path for manual Vault secrets). Migrate the hand-rolled Kanidm StatefulSet (`generic-templates/kanidm/`, portable) to the kaniop operator (v0.11.1, Helm OCI chart). kaniop manages the Kanidm server AND declarative identity (persons, groups, OAuth2 clients) — the `vault` OAuth2 client and `vault_superadmins` group become kaniop CRs. Plan + verified facts: `plans/kanidm-operator-migration.md`. Key points: - Same server version (kanidm/server 1.10.4) makes a Kanidm-native backup/restore the data path — kaniop cannot adopt the existing PVC (volumeClaimTemplate creates new PVCs only, no existing-claim reference). - Reuse `auth-animeteamspeak-moe-tls` via `tlsSecretName`; drop the nginx sidecar (kaniop serves HTTPS on :8443); replace ListenerSet+HTTPRoute with kaniop gateway config. - LDAP (ldaps :3636) consumed by opencloud must survive. Open items to verify (human): kaniop identity-CR adoption semantics after restore; kgateway BackendTLSPolicy; LDAP PROXYv2 env surface; restore procedure; AGPL-3.0 license.
ginjiruu added this to the Vault IaC milestone 2026-08-07 19:17:24 +00:00
Author
Owner

kaniop migration to operator canceled. The burden of migrating the existing instance would be to great, swapped out for the terraform provider now in https://git.animeteamspeak.moe/lab/iac

kaniop migration to operator canceled. The burden of migrating the existing instance would be to great, swapped out for the terraform provider now in https://git.animeteamspeak.moe/lab/iac
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/clusters#1520
No description provided.