adapt flannel config for k8s > 1.12
this is already fixed in higher flannel versions (0.11.1)
see:
@@ -152,8 +152,7 @@ spec:
tolerations:
# Allow the pod to run on the master. This is required for
# the master to communicate with pods.
- - key: node-role.kubernetes.io/master
- operator: Exists
+ - operator: Exists
effect: NoSchedule
# Mark the pod as a critical add-on for rescheduling.
- key: "CriticalAddonsOnly"
