You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3eddc53
Browse filesBrowse the repository at this point in the historyBrowse files
feat(openbao): add TLS with cert-manager self-signed certificates
Enable TLS for OpenBAO using per-instance cert-manager Issuer and
Certificate resources. The upstream chart auto-switches to HTTPS
when global.tlsDisable is false, affecting BAO_ADDR, readiness
probes, and port names.
Changes:
- Add cert-manager Issuer + Certificate template with DNS SANs
covering service, headless service, and pod addresses
- Set global.tlsDisable: false and mount TLS secret via
server.volumes/volumeMounts
- Update HCL listener configs with tls_cert_file/tls_key_file
- Update HA retry_join to use HTTPS with leader_ca_cert_file
- Update E2E test with BAO_SKIP_VERIFY=true and certificate wait
Co-Authored-By: Claude <[email protected]>
Signed-off-by: Aleksei Sviridkin <[email protected]>
# Wait for pod to be running (OpenBAO starts sealed, so pod is Running but not Ready)
25
26
kubectl -n tenant-test wait pod openbao-$name-0 --timeout=90s --for=jsonpath='{.status.phase}'=Running
26
27
27
28
# Wait for OpenBAO API to accept connections (exit code 2 = sealed but responsive, 1 = not ready)
28
-
timeout 30 sh -ec "until kubectl -n tenant-test exec openbao-$name-0 -- sh -c 'bao status >/dev/null 2>&1; test \$? -ne 1'; do sleep 3; done"
29
+
timeout 30 sh -ec "until kubectl -n tenant-test exec openbao-$name-0 -- sh -c 'BAO_SKIP_VERIFY=true bao status >/dev/null 2>&1; test \$? -ne 1'; do sleep 3; done"
29
30
30
31
# Initialize OpenBAO (single key share for testing simplicity)
0 commit comments