Skip to content
Permalink
Browse files

Merge pull request #75452 from liggitt/automated-cherry-pick-of-#7545…

…1-upstream-release-1.13

Automated cherry pick of #75451: Restore username and password kubectl flags
  • Loading branch information...
k8s-ci-robot committed Mar 22, 2019
2 parents 55c118a + 8f478a7 commit 2166946f41b36dea2c4626f90a77706f426cdea2
Showing with 1 addition and 1 deletion.
  1. +1 −1 pkg/kubectl/cmd/cmd.go
@@ -423,7 +423,7 @@ func NewKubectlCommand(in io.Reader, out, err io.Writer) *cobra.Command {

addProfilingFlags(flags)

kubeConfigFlags := genericclioptions.NewConfigFlags()
kubeConfigFlags := genericclioptions.NewConfigFlags().WithDeprecatedPasswordFlag()
kubeConfigFlags.AddFlags(flags)
matchVersionKubeConfigFlags := cmdutil.NewMatchVersionFlags(kubeConfigFlags)
matchVersionKubeConfigFlags.AddFlags(cmds.PersistentFlags())

0 comments on commit 2166946

Please sign in to comment.
You can’t perform that action at this time.