Interview Prep/Helm/Values, Schema & Type Errors

`Error: open secrets/prod.yaml: no such file or directory` in CI only.

BeginnerTroubleshootingValues, Schema & Type Errors
Answer

Likely causes → Relative paths resolved from a different working directory in CI, a sparse checkout, or the file is in .gitignore.

Diagnose → pwd; ls -la secrets/ in the job.

Fix → Use paths relative to the repo root with an explicit working-directory, or absolute paths from $GITHUB_WORKSPACE.

Prevent → A deploy script that resolves its own directory (cd "$(dirname "$0")").

All Helm questions Roadmap: Helm

More on Values, Schema & Type Errors