Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Fix kubeconfig flag #16

Merged
merged 1 commit into from
Dec 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/controller-manager/controller-manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func init() {
c.PersistentFlags().
StringVarP(ptr, name, short, dfault, desc)
}
strFlag(cmd, &kubeConfig, "kube-config", "", kubeConfig, "path to kubeconfig file")
strFlag(cmd, &kubeConfig, "kubeconfig", "", kubeConfig, "path to kubeconfig file")

hideFlag := func(name string) {
cmd.PersistentFlags().MarkHidden(name)
Expand Down