weave: support any taint effect in daemonset tolerations (#6159)

Since weave 2.5.1, `NoExecute` taint effect is no more supported,
this changes the daemonset tolerations to change this behavior.

Also remove the toleration key `CriticalAddonsOnly` not required anymore.
This commit is contained in:
Flavien 2020-05-28 10:10:02 +02:00 committed by GitHub
parent b2a0b649fd
commit ab44beba17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -224,11 +224,7 @@ items:
seLinuxOptions: {}
serviceAccountName: weave-net
tolerations:
- effect: NoSchedule
operator: Exists
# Mark pod as critical for rescheduling (Will have no effect starting with kubernetes 1.12)
- key: CriticalAddonsOnly
operator: "Exists"
- operator: Exists
volumes:
- name: weavedb
hostPath: