From bec6635ccc05b1f02c9971ec9bf529faac0b9ca1 Mon Sep 17 00:00:00 2001 From: Michael Taufen Date: Tue, 17 Jan 2017 13:03:38 -0800 Subject: [PATCH] Remove deprecated --config flag --- cmd/kubelet/app/options/options.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/kubelet/app/options/options.go b/cmd/kubelet/app/options/options.go index 109ebc0f503..cacb88b3aa5 100644 --- a/cmd/kubelet/app/options/options.go +++ b/cmd/kubelet/app/options/options.go @@ -92,8 +92,6 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) { fs.StringSliceVar(&s.APIServerList, "api-servers", []string{}, "List of Kubernetes API servers for publishing events, and reading pods and services. (ip:port), comma separated.") fs.MarkDeprecated("api-servers", "Use --kubeconfig instead. Will be removed in a future version.") - fs.StringVar(&s.PodManifestPath, "config", s.PodManifestPath, "Path to to the directory containing pod manifest files to run, or the path to a single pod manifest file.") - fs.MarkDeprecated("config", "Use --pod-manifest-path instead. Will be removed in a future version.") fs.StringVar(&s.PodManifestPath, "pod-manifest-path", s.PodManifestPath, "Path to to the directory containing pod manifest files to run, or the path to a single pod manifest file.") fs.DurationVar(&s.SyncFrequency.Duration, "sync-frequency", s.SyncFrequency.Duration, "Max period between synchronizing running containers and config") fs.DurationVar(&s.FileCheckFrequency.Duration, "file-check-frequency", s.FileCheckFrequency.Duration, "Duration between checking config files for new data")