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>
This commit is contained in:
Tapas Kapadia
2023-01-16 12:34:01 -06:00
parent 4d67dfabaa
commit fc16ea7d44

View File

@@ -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
}