Refactor Kubelet config sources for clarity

Create a new "Pod" concept which can identify pods from
many config sources.
This commit is contained in:
Clayton Coleman
2014-07-15 10:52:39 -04:00
parent f672edd1cf
commit 09294b90ce
15 changed files with 1553 additions and 8 deletions

View File

@@ -272,9 +272,6 @@ func ValidateManifest(manifest *ContainerManifest) []error {
} else if !supportedManifestVersions.Has(strings.ToLower(manifest.Version)) {
allErrs.Append(makeNotSupportedError("ContainerManifest.Version", manifest.Version))
}
if !util.IsDNSSubdomain(manifest.ID) {
allErrs.Append(makeInvalidError("ContainerManifest.ID", manifest.ID))
}
allVolumes, errs := validateVolumes(manifest.Volumes)
if len(errs) != 0 {
allErrs.Append(errs...)