// helmInit initializes and returns the action configuration.
helmInit initializes and returns the action configuration.
// helmInit initializes and returns the action configuration .
func helmInit(settings *cli.EnvSettings, namespace string) (*action.Configuration, error) {
	actionConfig := new(action.Configuration)
	helmDriver := os.Getenv("HELM_DRIVER")
	if err := actionConfig.Init(settings.RESTClientGetter(), namespace, helmDriver, debug); err != nil {
		return nil, trace.Wrap(err, "failed to initialize helm action configuration")
	}
	return actionConfig, nil
}
func helmInit ( settings * cli . EnvSettings , namespace string ) ( * action . Configuration , error ) { actionConfig := new ( action . Configuration ) helmDriver := os . Getenv ( " " ) if err := actionConfig . Init ( settings . RESTClientGetter ( ) , namespace , helmDriver , debug ) ; err != nil { return nil , trace . Wrap ( err , " " ) } return actionConfig , nil }
helmInit initializes and returns the action configuration.
helmInit initializes and returns the action configuration .