4 Commits
Author SHA1 Message Date
SmokyZoneandClaude Sonnet 5 00a037c291 Add CronJob that unseals OpenBao automatically after restarts
OpenBao comes back sealed whenever its pod restarts (containerd/MicroK8s restarts
took every pod down 6-11 times in three days), and while sealed External Secrets
cannot refresh any secret.

The job checks every minute and, if sealed, applies the keys from the existing
openbao-unseal-keys Secret with the same steps as scripts/unseal.sh. It talks to
the pod's headless-service address and verifies the cert-manager CA. Disable with
autoUnseal.enabled=false.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
2026-09-21 18:54:33 +02:00
SmokyZoneandCopilot 5ef5aaa0d8 Terminate TLS on OpenBao with a cert-manager self-signed certificate
Adds a ClusterIssuer (selfSigned) + Certificate, mounts the resulting
secret into the OpenBao pod, and switches the listener config from
tls_disable=1 to a TLS-enabled listener. UI/API is now served over
https://<node-ip>:30200 instead of plain HTTP.

Also updates ClusterSecretStore/bootstrap Job to use https + trust the
self-signed cert via caProvider/BAO_SKIP_VERIFY.

Co-authored-by: Copilot <[email protected]>
2026-09-18 20:20:20 +02:00
SmokyZoneandCopilot d174a0c666 Fix service name resolution for OpenBao (release name collision)
When the ArgoCD release name is 'openbao' (same as the subchart name),
Helm's fullname helper collapses '<release>-<chart>' to just the release
name instead of appending '-openbao'. Our ClusterSecretStore and
bootstrap Job hardcoded the '<release>-openbao' form, which pointed at a
non-existent Service and made the ClusterSecretStore fail with
'unable to create client' / DNS lookup errors. Add a helper that
replicates the subchart's fullname logic.

Co-authored-by: Copilot <[email protected]>
2026-09-18 20:06:11 +02:00
SmokyZone 1c2ba585dc add openbao deployment 2026-09-18 19:50:46 +02:00