mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
remove key from toleration
This commit is contained in:
parent
f150874ed2
commit
25d0352029
@ -123,7 +123,6 @@ func createTestPod(f *framework.Framework, image string, os string) *v1.Pod {
|
|||||||
if os == linuxOS {
|
if os == linuxOS {
|
||||||
pod.Spec.Tolerations = []v1.Toleration{
|
pod.Spec.Tolerations = []v1.Toleration{
|
||||||
{
|
{
|
||||||
Key: "key",
|
|
||||||
Operator: v1.TolerationOpExists,
|
Operator: v1.TolerationOpExists,
|
||||||
Effect: v1.TaintEffectNoSchedule,
|
Effect: v1.TaintEffectNoSchedule,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user