Skip to content

Commit

Permalink
feat(helm): add ability for a dry-run to evaluate lookup functions
Browse files Browse the repository at this point in the history
When a helm command is run with the --dry-run-option=server flag, it will try to connect to the cluster
to be able to render lookup functions.
Closes #8137

Signed-off-by: Tapas Kapadia <tapaskapadia10@gmail.com>
  • Loading branch information
tapaskapadia committed Jan 23, 2023
1 parent ddb3358 commit d66c7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/action/action.go
Expand Up @@ -121,7 +121,7 @@ func (cfg *Configuration) renderResources(ch *chart.Chart, values chartutil.Valu
var err2 error

// A `helm template` should not talk to the remote cluster. However, commands
// with the flag `--dry-run-option` with the value of false, none, or sever
// with the flag `--dry-run-option` with the value of false, none, or sever
// or with the flag `--dry-run` with the value of false should try to interact with the cluster.
// It may break in interesting and exotic ways because other data (e.g. discovery)
// is mocked.
Expand Down

0 comments on commit d66c7db

Please sign in to comment.