Skip to content

Commit

Permalink
fix(kollama): redefined namespace flag
Browse files Browse the repository at this point in the history
Signed-off-by: Neko Ayaka <[email protected]>
  • Loading branch information
nekomeowww committed Apr 17, 2024
1 parent 314560c commit e99fb39
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .krew.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/kollama/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 0 additions & 2 deletions internal/cli/kollama/cmd_deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit e99fb39

Please sign in to comment.