Skip to content

Instantly share code, notes, and snippets.

@jsugarman
Last active June 20, 2024 14:12
Show Gist options
  • Save jsugarman/66632e88538ccf99dd794489a184b3c0 to your computer and use it in GitHub Desktop.
Save jsugarman/66632e88538ccf99dd794489a184b3c0 to your computer and use it in GitHub Desktop.
How to dry run a helm upgrade to debug errors in yaml
helm upgrade name-of-your-local-app-chart ./<helm-config-dir>/. \
--install \
--dry-run \
--namespace=your-namespace \
--values ./<helm-config-dir>/<your-values-file>.yaml \
--set image.repository="som-ecr-repo-not-needed-for-dry-run" \
--set image.tag="some-commit-sha-not-needed-for-dry-run"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment