mirror of
https://github.com/helm/helm.git
synced 2026-08-05 07:30:46 +00:00
feat(helm): add ability for a dry-run to evaluate lookup functions
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>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user