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.
pull/6206/head
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
1 changed files with 1 additions and 5 deletions

View File

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