You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
tazhate
committed
fix(dashboard): resolve --kubeconfig flag conflict with controller-runtime
Context: discovered the binary panicked on startup with "flag redefined: kubeconfig"
when testing locally. controller-runtime/pkg/client/config registers --kubeconfig
in its init() function; our manual flag.String("kubeconfig") caused a duplicate.
Fixed by removing the manual flag and using ctrlcfg.GetConfig() instead, which
already reads the controller-runtime-registered flag.
0 commit comments