GeezerVison is showing gitlab.com — Add OpenBao example configuration (!40) · Merge requests · GitLab.org / caproni · GitLab
Add OpenBao example configuration
Summary
Add example Caproni configuration for deploying GitLab with OpenBao (Secrets Manager) on a local k3d cluster.
Files added
-
examples/openbao-dev.yaml — Caproni config targeting k3d with OpenBao-enabled GitLab chart
-
examples/openbao-dev-values.yaml — Helm values enabling OpenBao as a subchart with minimal resource footprint (~6GB RAM)
What was tested
Deployed and verified locally on k3d:
- OpenBao v2.4.1 running in HA mode (2 replicas) with PostgreSQL storage
- Auto-unsealed via static seal
- Core GitLab services (webservice, sidekiq, gitaly, redis, postgresql, minio) all healthy
- cert-manager installed as subchart for OpenBao TLS
Usage
# Build (or use installed binary)
go build -o caproni .
# Start cluster + deploy
./caproni -c examples/openbao-dev.yaml start
# Update /etc/hosts
sudo ./caproni -c examples/openbao-dev.yaml update-etc-hosts --ip 127.0.0.1
# Verify OpenBao
kubectl exec -n gitlab deploy/gitlab-openbao -- bao status
# Access GitLab
open http://gitlab.test:8080
# Tear down
./caproni -c examples/openbao-dev.yaml destroy
Notes
- Port mappings use 8080:80 and 8443:443 to avoid conflicts with common local services
- Non-essential components disabled (registry, pages, KAS, runner, prometheus) to keep resource usage low
- OpenBao experimental feature warning is expected and can be ignored for development
Merge request reports