chart: add bootstrap job (v0.2.0)

Post-install/post-upgrade Job that calls /api/bootstrap on first deploy
and stores the admin API key in a Secret (<release>-admin-key by default).
Exits cleanly on subsequent upgrades when bootstrap is already complete.
Adds ServiceAccount, Role (secrets:create), and RoleBinding as hook resources.
This commit is contained in:
Niklas Ye
2026-05-22 10:11:30 +02:00
parent 885ba73d12
commit 36468a68ed
5 changed files with 153 additions and 1 deletions
+7
View File
@@ -14,3 +14,10 @@ storage:
service:
type: ClusterIP
port: 8080
bootstrap:
enabled: true
username: admin
email: admin@example.com
# secretName overrides the default of <fullname>-admin-key
secretName: ""