Enhancement: Protect monitoring resources and allow fresh deploys #63

Merged
claude-bot Bot merged 1 commits from enhancement/protect-monitoring-resources into main 2026-11-23 02:41:49 +01:00

What changed

  • Replace the two import options in monitoring with protect: true, on the namespace and the Helm release.
  • Update the rebuild runbook: clearing state now uses --force, and monitoring deploys with a normal workflow run.
  • Update the monitoring notes.

Why

The import options fail on a fresh cluster, where these resources do not exist yet. protect keeps a guard against Pulumi deleting or replacing them.

Preview

monitoring: 5 unchanged, with ~protect on the namespace and Helm release. Typecheck passes.

pulumi state delete --all was tested on a throwaway stack: it refuses protected resources and succeeds with --force. The full rebuild procedure has not been run.

## What changed - Replace the two `import` options in `monitoring` with `protect: true`, on the namespace and the Helm release. - Update the rebuild runbook: clearing state now uses `--force`, and `monitoring` deploys with a normal workflow run. - Update the `monitoring` notes. ## Why The `import` options fail on a fresh cluster, where these resources do not exist yet. `protect` keeps a guard against Pulumi deleting or replacing them. ## Preview `monitoring`: 5 unchanged, with `~protect` on the namespace and Helm release. Typecheck passes. `pulumi state delete --all` was tested on a throwaway stack: it refuses protected resources and succeeds with `--force`. The full rebuild procedure has not been run.
claude-bot Bot added 1 commit 2026-11-23 02:40:37 +01:00
enhancement(monitoring): replace import options with protect
Deploy Monitoring / Pulumi Deploy (pull_request) Skipped
Deploy Monitoring / Pulumi Preview (pull_request) Successful in 46s
Secret Scan / Betterleaks (pull_request) Successful in 6s
b1aff90ffd
The import options fail on a fresh cluster, where the namespace and Helm release do not exist yet. Protect both resources instead, and update the rebuild runbook because clearing protected state requires --force.
claude-bot Bot merged commit cdf033686a into main 2026-11-23 02:41:49 +01:00
Sign in to join this conversation.