germinate: ship Grafana observability to daughters (#6) #8
No reviewers
Labels
No labels
bug
discussion
duplicate
enhancement
goal
help wanted
horizon:backlog
horizon:governance
horizon:mvp
invalid
operator-decision
question
roadmap
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-platform/mitosis!8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/observability-grafana"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Threads the new gitops observability stack (
plat/gitopsfeat/observability-grafana) through germination, so a sovereign daughter can ship Prometheus + Grafana. Closes the toolkit side of #6.What
MONITORING=1(env; surfaced inup+germinateusage) keeps the observability stack in a lean daughter; the full profile always ships it.trim_gitops_lean: keepmonitoring/and emit its Flux Kustomization when opted in; drop it otherwise (lean stays minimal).fork_regen_secrets: resealgrafana-oauthto the sovereign key with a fresh break-glass admin password — otherwisefork_verify_all_sealedrejects the genesis-sealed placeholder. EmitsFORK_GRAFANA_ADMIN_PASSWORD.fork_register_grafana_oauth(new): post-handoff, register a sovereign Forgejo OAuth app for Grafana and seal its client id/secret (no-op when monitoring is absent), mirroring the existingfork_register_oauthfor plat-mcp.Validation (unit-tested the functions on a real gitops clone)
trim_gitops_leanopt-in keepsmonitoring/+ emits the Kustomization (8 total, valid YAML); opt-out drops both.fork_verify_all_sealedpasses: "all 10 forged secrets sovereign-sealed" (9 originals + grafana), grafana secret decrypts with the fork key.rewrite_identity_domainrewritesgrafana.<old>→grafana.<new>and the OAuthgit.<old>→git.<new>with zero stale hosts and the dot-escape-sensitiveplat-local-ca-tlsintact.bash -nclean on all scripts.Thread the new gitops monitoring stack through germination. - MONITORING=1 (env, surfaced in up + germinate usage) keeps the observability stack in a LEAN daughter; the full profile always ships it. - trim_gitops_lean: keep monitoring/ and emit its Flux Kustomization when opted in; drop it otherwise (lean stays minimal). - fork_regen_secrets: reseal grafana-oauth to the sovereign key with a fresh break-glass admin password (else fork_verify_all_sealed rejects the genesis-sealed placeholder); emits FORK_GRAFANA_ADMIN_PASSWORD. - fork_register_grafana_oauth: post-handoff, register a sovereign Forgejo OAuth app for Grafana and seal its client id/secret (no-op when absent). - YOUR PLATFORM card shows the Grafana URL + break-glass admin when shipped. Validated by unit-testing the functions: trim opt-in/out, reseal + fork_verify_all_sealed ("all 10 forged secrets sovereign-sealed"), and the identity rewrite of grafana/git hosts (dot-escape-safe). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.