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]>
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]>
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]>