Skip to content

feat: enable declarative status_page entities with stable monitor references - #192

Open
yajo wants to merge 1 commit into
BigBoot:masterfrom
moduon:status-pages
Open

feat: enable declarative status_page entities with stable monitor references#192
yajo wants to merge 1 commit into
BigBoot:masterfrom
moduon:status-pages

Conversation

@yajo

@yajo yajo commented Aug 19, 2026

Copy link
Copy Markdown

AutoKuma already parsed and created/deleted status_page entities, but two gaps made them impractical to use from Kubernetes:

  • Updates were silently ignored because update_entity only handled Monitor, DockerHost, Notification, and Tag.
  • public_group_list monitors had to be referenced by numeric Uptime Kuma id, which users cannot know in advance.

This PR resolves both by:

  • Adding an edit_status_page branch in autokuma/src/sync.rs so status page changes are reconciled.
  • Introducing an internal entity_id field on PublicGroupMonitor that AutoKuma resolves to the stored Uptime Kuma monitor id before saving.
  • Accepting snake_case aliases for publicGroupList/monitorList so Kubernetes CRs feel natural.

Also adds a Kubernetes example CR and updates ENTITY_TYPES.md.

Assisted-by: OpenCode + Kimi k2.7-code

…erences

AutoKuma already parsed and created/deleted status_page entities, but two
gaps made them impractical to use from Kubernetes:

- Updates were silently ignored because update_entity only handled
  Monitor, DockerHost, Notification, and Tag.
- public_group_list monitors had to be referenced by numeric Uptime Kuma
  id, which users cannot know in advance.

Resolve both by:

- Adding an edit_status_page branch to sync.rs so status page changes are
  reconciled.
- Introducing an internal entity_id field on PublicGroupMonitor that
  AutoKuma resolves to the stored Uptime Kuma monitor id before saving.
- Accepting snake_case aliases for publicGroupList/monitorList so
  Kubernetes CRs feel natural.

Add a Kubernetes example and document the new status_page type and
entity_id field in ENTITY_TYPES.md.

Assisted-by: OpenCode + Kimi k2.7-code
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.

1 participant