Avoid the reuse-values trap

--reuse-values silently keeps old overrides; --reset-values starts a clean merge

helm upgrade --install <name> ./chart --reset-values -f values.yaml

tool
helm54 commands
tags
helmtroubleshootinggitopsk8s

More helm commands

  • helm get hooks <rel> -n <ns>

    Prints the rendered pre/post install and upgrade hooks to debug the order of failing Jobs

  • helm history <rel> -n <ns> && helm rollback <rel> <rev> --dry-run -n <ns>

    Shows which revision a rollback will use before you really roll back

  • helm dependency update ./chart && helm dependency build ./chart

    update refreshes Chart.lock from the repos; build downloads subcharts from the existing lock

  • helm upgrade --install <name> ./chart --wait --wait-for-jobs --timeout 10m -n <ns>

    Waits until pods are ready and hook Jobs are complete, so there is no race with migrations

  • helm status <rel> -n <ns> -o json | jq '.info.status, .info.last_deployed'

    Gets a machine-readable deploy state for scripts and gate checks

all 54 helm commands