mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Fix unittest reflecting the default taint tolerations change for static
pods.
This commit is contained in:
parent
d26e906191
commit
d419efbe71
@ -208,6 +208,10 @@ func getTestCases(hostname types.NodeName) []*testCase {
|
|||||||
RestartPolicy: v1.RestartPolicyAlways,
|
RestartPolicy: v1.RestartPolicyAlways,
|
||||||
DNSPolicy: v1.DNSClusterFirst,
|
DNSPolicy: v1.DNSClusterFirst,
|
||||||
TerminationGracePeriodSeconds: &grace,
|
TerminationGracePeriodSeconds: &grace,
|
||||||
|
Tolerations: []v1.Toleration{{
|
||||||
|
Operator: "Exists",
|
||||||
|
Effect: "NoExecute",
|
||||||
|
}},
|
||||||
Containers: []v1.Container{{
|
Containers: []v1.Container{{
|
||||||
Name: "image",
|
Name: "image",
|
||||||
Image: "test/image",
|
Image: "test/image",
|
||||||
|
Loading…
Reference in New Issue
Block a user