Rename KubeletConfiguration.Config to PodManifestPath for clarity

Also provide a new --pod-manifest-path flag and deprecate the old
--config one.

This field holds the location of a manifest file or directory of manifest
files for pods the Kubelet is supposed to run. The name of the field
should reflect that purpose.
This commit is contained in:
Michael Taufen
2016-08-03 09:22:40 -07:00
parent 473425200f
commit e43ccdbf2c
9 changed files with 23 additions and 18 deletions

View File

@@ -185,7 +185,7 @@ func DeepCopy_componentconfig_KubeletConfiguration(in interface{}, out interface
in := in.(*KubeletConfiguration)
out := out.(*KubeletConfiguration)
out.TypeMeta = in.TypeMeta
out.Config = in.Config
out.PodManifestPath = in.PodManifestPath
out.SyncFrequency = in.SyncFrequency
out.FileCheckFrequency = in.FileCheckFrequency
out.HTTPCheckFrequency = in.HTTPCheckFrequency