f.StringVar(&client.Description,"description","","add a custom description")
f.BoolVar(&client.Devel,"devel",false,"use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored")
f.BoolVar(&client.DependencyUpdate,"dependency-update",false,"update dependencies if they are missing before installing the chart")
f.BoolVar(&client.DependencyUpdateRecursive,"dependency-update-recursive",false,"update dependencies recursively if they are missing before installing the chart")
f.BoolVar(&client.DisableOpenAPIValidation,"disable-openapi-validation",false,"if set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema")
f.BoolVar(&client.RollbackOnFailure,"rollback-on-failure",false,"if set, Helm will rollback (uninstall) the installation upon failure. The --wait flag will be default to \"watcher\" if --rollback-on-failure is set")
err=fmt.Errorf("an error occurred while checking for chart dependencies. You may need to run `helm dependency build` to fetch missing dependencies: %w",err)
returnnil,fmt.Errorf("failed reloading chart after repo update: %w",err)
}
}else{
returnnil,fmt.Errorf("an error occurred while checking for chart dependencies. You may need to run `helm dependency build` to fetch missing dependencies: %w",err)
f.StringVar(&client.AppVersion,"app-version","","set the appVersion on the chart to this version")
f.StringVarP(&client.Destination,"destination","d",".","location to write the chart.")
f.BoolVarP(&client.DependencyUpdate,"dependency-update","u",false,`update dependencies from "Chart.yaml" to dir "charts/" before packaging`)
f.BoolVarP(&client.DependencyUpdateRecursive,"dependency-update-recursive","r",false,`update dependencies recursively from from "Chart.yaml" and all of its subcharts before packaging`)
f.StringVar(&client.Username,"username","","chart repository username where to locate the requested chart")
f.StringVar(&client.Password,"password","","chart repository password where to locate the requested chart")
f.StringVar(&client.CertFile,"cert-file","","identify HTTPS client using this SSL certificate file")