diff --git a/.krew.yaml b/.krew.yaml index dd86cbf..855e692 100644 --- a/.krew.yaml +++ b/.krew.yaml @@ -1,7 +1,7 @@ apiVersion: krew.googlecontainertools.github.com/v1alpha2 kind: Plugin metadata: - name: kollama + name: ollama spec: version: {{ .TagName }} homepage: https://github.com/nekomeowww/ollama-operator diff --git a/internal/cli/kollama/cmd.go b/internal/cli/kollama/cmd.go index 1997035..3ed2cda 100644 --- a/internal/cli/kollama/cmd.go +++ b/internal/cli/kollama/cmd.go @@ -34,7 +34,7 @@ var ( // NewCmd provides a cobra command wrapping NamespaceOptions func NewCmd(streams genericiooptions.IOStreams) *cobra.Command { cmd := &cobra.Command{ - Use: "ollama [cmd] [args] [flags]", + Use: "kollama [cmd] [args] [flags]", Short: "CLI for Ollama Operator", SilenceUsage: true, RunE: func(c *cobra.Command, args []string) error { diff --git a/internal/cli/kollama/cmd_deploy.go b/internal/cli/kollama/cmd_deploy.go index 2f75646..63b21e6 100644 --- a/internal/cli/kollama/cmd_deploy.go +++ b/internal/cli/kollama/cmd_deploy.go @@ -73,8 +73,6 @@ func NewCmdDeploy(streams genericiooptions.IOStreams) *cobra.Command { }, } - cmd.Flags().StringP("namespace", "n", "", "The namespace to deploy the model") - o.configFlags.AddFlags(cmd.Flags()) o.clientConfig = o.configFlags.ToRawKubeConfigLoader() o.kubeConfig = lo.Must(o.clientConfig.ClientConfig())