mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-16 15:20:17 +00:00
Drop credential providers
This commit is contained in:
parent
cbc5a885e8
commit
3c0da8609b
@ -27,9 +27,6 @@ import (
|
||||
// libs that provide registration functions
|
||||
"k8s.io/component-base/logs"
|
||||
"k8s.io/component-base/version/verflag"
|
||||
|
||||
// ensure libs have a chance to globally register their flags
|
||||
_ "k8s.io/kubernetes/pkg/credentialprovider/gcp"
|
||||
)
|
||||
|
||||
// AddGlobalFlags explicitly registers flags that libraries (glog, verflag, etc.) register
|
||||
@ -37,7 +34,6 @@ import (
|
||||
// We do this in order to prevent unwanted flags from leaking into the Kubelet's flagset.
|
||||
func AddGlobalFlags(fs *pflag.FlagSet) {
|
||||
addCadvisorFlags(fs)
|
||||
addCredentialProviderFlags(fs)
|
||||
verflag.AddFlags(fs)
|
||||
logs.AddFlags(fs, logs.SkipLoggingConfigurationFlags())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user