Commit 61fc0a12 authored by gmarek's avatar gmarek

Explicitly set DNSDefault policy in Density test

parent 494f47b0
...@@ -453,6 +453,7 @@ func createRunningPod(wg *sync.WaitGroup, c *client.Client, name, ns, image stri ...@@ -453,6 +453,7 @@ func createRunningPod(wg *sync.WaitGroup, c *client.Client, name, ns, image stri
Image: image, Image: image,
}, },
}, },
DNSPolicy: api.DNSDefault,
}, },
} }
_, err := c.Pods(ns).Create(pod) _, err := c.Pods(ns).Create(pod)
......
...@@ -1440,6 +1440,7 @@ func (config *RCConfig) create() error { ...@@ -1440,6 +1440,7 @@ func (config *RCConfig) create() error {
Ports: []api.ContainerPort{{ContainerPort: 80}}, Ports: []api.ContainerPort{{ContainerPort: 80}},
}, },
}, },
DNSPolicy: api.DNSDefault,
}, },
}, },
}, },
......
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