mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-02-22 07:03:28 +00:00
Merge pull request #131647 from carsontham/ct/remove-deprecated-klog-flags
kubeadm: Remove deprecated klog flags
This commit is contained in:
@@ -35,7 +35,8 @@ func Run() error {
|
||||
// only add the flags that are still supported for kubeadm
|
||||
allFlags.VisitAll(func(f *flag.Flag) {
|
||||
switch f.Name {
|
||||
case "v", "add_dir_header", "skip_headers":
|
||||
// kubeadm only exposes the klog flags covered in https://features.k8s.io/2845
|
||||
case "v", "vmodule":
|
||||
flag.CommandLine.Var(f.Value, f.Name, f.Usage)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user