Merge pull request #55499 from mtaufen/fix-manifest-url-header

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Allocate map for ManifestURLHeader

Issue: #55189

Fixes an assignment to nil map.

/cc @yliaog

```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue 2017-11-10 17:45:13 -08:00 committed by GitHub
commit 113bf2567d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,6 +242,9 @@ func SetDefaults_KubeletConfiguration(obj *KubeletConfiguration) {
if obj.FeatureGates == nil {
obj.FeatureGates = make(map[string]bool)
}
if obj.ManifestURLHeader == nil {
obj.ManifestURLHeader = make(map[string][]string)
}
}
func boolVar(b bool) *bool {