updates: DaemonSet test should tolerate all taints

The test specifically includes all nodes, but doesn't actually ensure
the daemonset covers all nodes despite taints.
pull/564/head
Clayton Coleman 2019-02-10 23:53:57 -05:00
parent 3e0dd7f365
commit a7dfbb99c4
No known key found for this signature in database
GPG Key ID: 3D16906B4F1C5CB3
1 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,7 @@ import (
. "github.com/onsi/ginkgo"
apps "k8s.io/api/apps/v1"
"k8s.io/api/core/v1"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/util/wait"
@ -59,6 +59,9 @@ func (t *DaemonSetUpgradeTest) Setup(f *framework.Framework) {
Labels: labelSet,
},
Spec: v1.PodSpec{
Tolerations: []v1.Toleration{
{Operator: v1.TolerationOpExists},
},
Containers: []v1.Container{
{
Name: daemonSetName,