Unverified Commit 9022cd6f authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #73156 from mortent/DaemonsetFix

Fix missing selector on daemonset in upgrade test
parents b9631a88 62c238b2
...@@ -51,6 +51,9 @@ func (t *DaemonSetUpgradeTest) Setup(f *framework.Framework) { ...@@ -51,6 +51,9 @@ func (t *DaemonSetUpgradeTest) Setup(f *framework.Framework) {
Name: daemonSetName, Name: daemonSetName,
}, },
Spec: apps.DaemonSetSpec{ Spec: apps.DaemonSetSpec{
Selector: &metav1.LabelSelector{
MatchLabels: labelSet,
},
Template: v1.PodTemplateSpec{ Template: v1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{ ObjectMeta: metav1.ObjectMeta{
Labels: labelSet, Labels: labelSet,
......
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