mirror of
https://github.com/ko-build/ko.git
synced 2025-07-15 23:54:17 +02:00
Update ggcr dependency (#119)
* Update ggcr dependency I had to move genericclioptions to k8s.io/cli-runtime * bump client-go * usePersistentConfig=false
This commit is contained in:
@ -22,7 +22,7 @@ import (
|
||||
"github.com/google/ko/pkg/commands/options"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/pflag"
|
||||
"k8s.io/kubernetes/pkg/kubectl/genericclioptions"
|
||||
"k8s.io/cli-runtime/pkg/genericclioptions"
|
||||
)
|
||||
|
||||
// addCreate augments our CLI surface with apply.
|
||||
@ -143,7 +143,7 @@ func addCreate(topLevel *cobra.Command) {
|
||||
})
|
||||
|
||||
// Register the kubectl global flags.
|
||||
kubeConfigFlags := genericclioptions.NewConfigFlags()
|
||||
kubeConfigFlags := genericclioptions.NewConfigFlags(false)
|
||||
kubeConfigFlags.AddFlags(create.Flags())
|
||||
|
||||
topLevel.AddCommand(create)
|
||||
|
Reference in New Issue
Block a user