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.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What changed
importoptions inmonitoringwithprotect: true, on the namespace and the Helm release.--force, andmonitoringdeploys with a normal workflow run.monitoringnotes.Why
The
importoptions fail on a fresh cluster, where these resources do not exist yet.protectkeeps a guard against Pulumi deleting or replacing them.Preview
monitoring: 5 unchanged, with~protecton the namespace and Helm release. Typecheck passes.pulumi state delete --allwas tested on a throwaway stack: it refuses protected resources and succeeds with--force. The full rebuild procedure has not been run.