Interview Prep/Helm/Hooks, Tests, GitOps & Secrets

`Error: unknown command "secrets" for "helm"` (or `"diff"`) in CI.

BeginnerTroubleshootingHooks, Tests, GitOps & Secrets
Answer

Likely causes → Plugins are installed per user under HELM_PLUGINS; the CI image or runner does not have them, or HELM_DATA_HOME points elsewhere.

Diagnose → helm plugin list; helm env HELM_PLUGINS.

Fix → Install in the job: helm plugin install https://github.com/jkroepke/helm-secrets --version v4.6.2 (pin the version), or bake plugins into the CI image.

Prevent → A pinned CI image with Helm, plugins, sops and kubeconform.

All Helm questions Roadmap: Helm

More on Hooks, Tests, GitOps & Secrets