Skip to content

fix(explain): show when a key matters only on an upgrade or before CRDs - #134

Merged
guarnz merged 3 commits into
mainfrom
fix/explain-upgrade-bootstrap
Dec 3, 2026
Merged

guarnz merged 3 commits into
mainfrom
fix/explain-upgrade-bootstrap

Conversation

@guarnz

@guarnz guarnz commented Dec 3, 2026

Copy link
Copy Markdown
Owner

What

When removing a key changes nothing in a normal render, explain now also renders as an upgrade and without the APIs the cluster gets from CRDs, as scan does, and says when the key matters: affects on an upgrade (as Flux and helm upgrade render) or is required while the cluster does not serve monitoring.coreos.com/v1 yet. The JSON gets when (upgrade or bootstrap) and missingAPIs.

Why

scan keeps keys that only an upgrade reads, such as openebs' preUpgradeHook.enabled, and keys that only matter before the CRDs exist, such as cilium's prometheus.serviceMonitor.trustCRDsExist. explain only rendered as helm template does, so it said these ALIVE keys had no effect.

Type

  • Bug fix
  • Feature
  • Refactor
  • Build or CI
  • Docs

Checklist

  • Tests pass (go test ./...)
  • Docs updated (README, docs/, or docs/cli via gendocs)
  • No secrets committed

@github-actions github-actions Bot added output Table, JSON, Markdown, SARIF and annotations cli Commands and flags bug Something does not work as documented labels Dec 3, 2026
@sonarqubecloud

sonarqubecloud Bot commented Dec 3, 2026

Copy link
Copy Markdown

@guarnz
guarnz merged commit bf976a1 into main Dec 3, 2026
13 checks passed
@guarnz
guarnz deleted the fix/explain-upgrade-bootstrap branch December 3, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something does not work as documented cli Commands and flags output Table, JSON, Markdown, SARIF and annotations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant