diff --git a/pkg/registry/apps/daemonset/storage/storage_test.go b/pkg/registry/apps/daemonset/storage/storage_test.go index d6d19b022bb..845de8a0212 100644 --- a/pkg/registry/apps/daemonset/storage/storage_test.go +++ b/pkg/registry/apps/daemonset/storage/storage_test.go @@ -48,6 +48,7 @@ func newValidDaemonSet() *apps.DaemonSet { ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: metav1.NamespaceDefault, + Labels: map[string]string{"a": "b"}, }, Spec: apps.DaemonSetSpec{ UpdateStrategy: apps.DaemonSetUpdateStrategy{