feat(config): add config-as-code YAML import/export #8

Merged
lerko merged 1 commits from feat/config-as-code into develop 2026-05-16 01:10:29 +00:00
Owner

Add declarative config-as-code support via YAML files. Monitors and
alerts can be exported, version controlled, and applied across instances.

  • goupkeep export [-o file.yaml] dumps current state
  • goupkeep apply -f file.yaml creates/updates to match desired state
  • --dry-run shows planned changes without applying
  • --prune deletes monitors/alerts not in the YAML
  • Matching by name, alert references by name, nested group children
  • CLI refactored to subcommands (apply, export, serve) with backward compat
  • 24 tests covering apply, export, validation, round-trip idempotency
Add declarative config-as-code support via YAML files. Monitors and alerts can be exported, version controlled, and applied across instances. - goupkeep export [-o file.yaml] dumps current state - goupkeep apply -f file.yaml creates/updates to match desired state - --dry-run shows planned changes without applying - --prune deletes monitors/alerts not in the YAML - Matching by name, alert references by name, nested group children - CLI refactored to subcommands (apply, export, serve) with backward compat - 24 tests covering apply, export, validation, round-trip idempotency
lerko added 1 commit 2026-05-16 01:10:10 +00:00
Add declarative config-as-code support via YAML files. Monitors and
alerts can be exported, version controlled, and applied across instances.

- goupkeep export [-o file.yaml] dumps current state
- goupkeep apply -f file.yaml creates/updates to match desired state
- --dry-run shows planned changes without applying
- --prune deletes monitors/alerts not in the YAML
- Matching by name, alert references by name, nested group children
- CLI refactored to subcommands (apply, export, serve) with backward compat
- 24 tests covering apply, export, validation, round-trip idempotency
lerko merged commit 6cbbd4849a into develop 2026-05-16 01:10:29 +00:00
lerko deleted branch feat/config-as-code 2026-05-16 01:10:30 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerkolabs/uptop#8