kunai-secrets failure due to missing vault-secrets dependency
Summary
kunai-secrets unit fails transiently because RandomSecret/kunai-nextauth-secret is reconciled before vault-secrets has created its prerequisites (the sylva-password-policy PasswordPolicy and the vault service account in Kubernetes).
The unit times out waiting for the RandomSecret to become Ready, failing the pipeline.
vault-config-operator logs show
2026-08-19T18:36:34Z ERROR unable to create service account token request {"controller": "randomsecret", "controllerGroup": "redhatcop.redhat.io", "controllerKind": "RandomSecret", "RandomSecret": {"name":"kunai-nextauth-secret","namespace":"vault"}, "namespace": "vault", "name": "kunai-nextauth-secret", "reconcileID": "afaa615d-5025-4c0b-8b65-984395636ca3", "in namespace": "vault", "for service account": "vault", "error": "serviceaccounts \"vault\" not found"}
related references
failed pipelines-
https://gitlab.com/sylva-projects/sylva-core/-/jobs/15991151418 (CAPO nightly)
https://gitlab.com/sylva-projects/sylva-core/-/pipelines/2803607305 (CAPO nightly)
https://gitlab.com/sylva-projects/sylva-core/-/pipelines/2804045033 (CAPO CI)
Edited by Sara Walia