feat(helm): add ability for --dry-run to do lookup functions

When a helm command is run with the --dry-run flag, it will try to connect to the cluster
if the value is 'server' to be able to render lookup functions.
Closes #8137

Signed-off-by: Tapas Kapadia <tapaskapadia10@gmail.com>
pull/9426/head
Tapas Kapadia 2 years ago
parent 4d67dfabaa
commit fc16ea7d44

@ -320,6 +320,6 @@ func validateDryRunFlag(dryRunFlagValue string) error {
}
if !isAllowed {
return errors.New("Invalid dry-run flag. Flag must one of the following: false, true, none, client, sever")
}
}
return nil
}

Loading…
Cancel
Save