|
|
@ -22,6 +22,7 @@ import (
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
|
|
|
|
|
|
|
|
"helm.sh/helm/v3/cmd/helm/require"
|
|
|
|
"helm.sh/helm/v3/cmd/helm/require"
|
|
|
|
|
|
|
|
experimental "helm.sh/helm/v3/internal/experimental/action"
|
|
|
|
"helm.sh/helm/v3/pkg/action"
|
|
|
|
"helm.sh/helm/v3/pkg/action"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
@ -38,7 +39,7 @@ func newRegistryLogoutCmd(cfg *action.Configuration, out io.Writer) *cobra.Comma
|
|
|
|
Hidden: !FeatureGateOCI.IsEnabled(),
|
|
|
|
Hidden: !FeatureGateOCI.IsEnabled(),
|
|
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
|
|
hostname := args[0]
|
|
|
|
hostname := args[0]
|
|
|
|
return action.NewRegistryLogout(cfg).Run(out, hostname)
|
|
|
|
return experimental.NewRegistryLogout(cfg).Run(out, hostname)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|