Skip to content

Commit

Permalink
fix: add authentication to both binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
dhenkel92 committed Dec 6, 2023
1 parent 66deeab commit e09eb3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/kubectl-evict/kubectl-evict.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"k8s.io/cli-runtime/pkg/genericclioptions"

// https://krew.sigs.k8s.io/docs/developer-guide/develop/best-practices/
_ "k8s.io/client-go/plugin/pkg/client/auth"
)

func main() {
Expand Down
3 changes: 3 additions & 0 deletions cmd/kubectl-pdb/kubectl-pdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"k8s.io/cli-runtime/pkg/genericclioptions"

// https://krew.sigs.k8s.io/docs/developer-guide/develop/best-practices/
_ "k8s.io/client-go/plugin/pkg/client/auth"
)

func main() {
Expand Down

0 comments on commit e09eb3a

Please sign in to comment.