Fluxcd kustomization helmrelease review
Skill Raishin/vanguard-frontier-agentic/skills/fluxcd/fluxcd-kustomization-helmrelease-review
Use this skill when reviewing FluxCD Kustomization, HelmRelease, GitRepository, HelmRepository, or OCIRepository resources. Trigger when the user asks whether a Flux configuration is safe for production, whether SOPS encryption is required, whether prune is safe on a given workload, whether commit signature verification is enabled, or whether a Flux multi-tenant setup uses least-privilege ServiceAccounts.From its SKILL.md
npx -y skills add Raishin/vanguard-frontier-agentic --skill fluxcd-kustomization-helmrelease-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
3.1 KB, 556 tokens by cl100k_base, as published. Nobody here has run it
FluxCD Kustomization and HelmRelease Review
Purpose
Review FluxCD Kustomization, HelmRelease, GitRepository, HelmRepository, and OCIRepository resources for source trust guarantees, SOPS secret encryption, prune-enabled blast radius on stateful workloads, per-Kustomization ServiceAccount scoping, HelmRelease upgrade remediation safety, and health check completeness. FluxCD's default posture gives the kustomize-controller cluster-admin-equivalent reach — the security surface lives in per-Kustomization ServiceAccounts, commit signature verification, SOPS encryption at rest, and prune annotation guards.
Lean operating rules
- Prefer user-provided sanitized resource YAML as primary evidence; official FluxCD docs are the authoritative fallback.
- Treat unencrypted Kubernetes
Secretmanifests committed to any Git source as a CRITICAL finding — anyone with repo read access (CI, PR participants, auditors) has those secrets. - Treat
GitRepository.spec.ref.semver: ">=0.0.0"or an unbound semver range in a production source as a HIGH finding — any tag push from a compromised upstream triggers a deploy. - Treat the absence of
spec.verify.secretRef(commit GPG signature verification) on productionGitRepositorysources as a HIGH finding. - Treat
Kustomization.spec.serviceAccountNamenot set as a HIGH finding — the kustomize-controller SA applies with cluster-admin-equivalent scope for all tenants. - Treat
spec.prune: trueon Kustomizations covering stateful workloads (StatefulSets, PVCs, CRDs) withoutkustomize.toolkit.fluxcd.io/prune: disabledannotations as a HIGH finding. - Treat
HelmRelease.spec.chart.spec.version: "*"or an unbound version range as a HIGH finding — any upstream chart publish triggers an auto-upgrade. - Treat
HelmRelease.spec.upgrade.remediation.retries: -1(infinite retry) as a MEDIUM finding — a broken release blocks other reconciliation loops indefinitely. - Keep the answer scoped: report what was reviewed, the evidence level, and the exact field path for each finding.
References
Load these only when needed:
Response minimum
- Scoped target (resource kind/name/namespace) and evidence level
- Source trust verdict (commit verification, semver pinning, SOPS encryption)
- Kustomization ServiceAccount scope assessment
- Prune safety verdict for any stateful workloads
- HelmRelease version pinning and upgrade remediation assessment
- Health check completeness verdict
- Safe next actions and open questions
What ships with it: 2 files
8.5 KB alongside SKILL.md
references/
- workflow-and-output.md7.1 KB
- metadata.json1.3 KB