Commit 8b42534f authored by Tim Hockin's avatar Tim Hockin

Fix kubelet config tests

parent 6e8f5fea
......@@ -59,6 +59,7 @@ func CreateValidPod(name, namespace, source string) api.BoundPod {
},
Spec: api.PodSpec{
RestartPolicy: api.RestartPolicy{Always: &api.RestartPolicyAlways{}},
DNSPolicy: api.DNSClusterFirst,
},
}
}
......
......@@ -132,6 +132,7 @@ func TestExtractFromHTTP(t *testing.T) {
},
Spec: api.PodSpec{
RestartPolicy: api.RestartPolicy{Always: &api.RestartPolicyAlways{}},
DNSPolicy: api.DNSClusterFirst,
},
}),
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment