Skip to content

Conversation

@woojae-siloai
Copy link
Contributor

@woojae-siloai woojae-siloai commented Jan 27, 2026

This PR enhances the way managing Openbao secrets.

Problem
Previous OpenBao initialization had limitations:

  • Hardcoded secret generation in bootstrap scripts
  • Secrets only added automatically during first cluster-forge deployment
  • Manual secret management with no ongoing automation
  • Tight coupling between initialization and configuration
  • No GitOps integration for secret definitions

Solution
Current branch resolves limitations through:

  • Decoupling: Separated bootstrap initialization from ongoing secret management
  • Automation: Added CronJob-based secret management running every 5 minutes
  • GitOps Integration: Secret definitions now under sources/openbao-config/ so ArgoCD can watch and manage configuration changes
  • Declarative Approach: Replaced hardcoded scripts with configurable SECRET_PATH|TYPE|VALUE|BYTES format

Changes
Implementation Changes:

  • Converted sources/openbao-config/ to proper Helm chart structure
  • Added openbao-secret-definitions.yaml with declarative secret format
  • Created openbao-secret-manager-cronjob.yaml for automated management
  • Added unified manage-secrets.sh script replacing hardcoded generation
  • Added openbao-secret-manager-scripts ConfigMap with idempotent logic (checks if secret exists first, only creates if missing)
  • Updated bootstrap process for multi-stage secret deployment

Documentation Changes

  • Updated secrets-management-architecture.md to reflect automated system
  • Added secret-management-user-guide.md for practical operations
  • Added openbao-config-helm-chart.md for technical reference

woojae-siloai and others added 30 commits January 21, 2026 17:36
…tecture docs for automated CronJob-based system. Add user guide with practical workflow and troubleshooting
@woojae-siloai woojae-siloai marked this pull request as ready for review January 27, 2026 12:23
@woojae-siloai woojae-siloai requested a review from a team as a code owner January 27, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants