X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ansible%2Froles%2Fflannel%2Ftemplates%2Fflannel-ds.yaml;h=e50f855cb5089b0bacd6fe42ea5250cbf5b67c97;hb=d93171dfb987e103f84149d6b54d9350a078bf9e;hp=117f9cfdf7fa9b326180d7f140e2e85274779f86;hpb=d24b652b4823c54bba217a60264185e6102c2552;p=ta%2Fcaas-danm.git diff --git a/ansible/roles/flannel/templates/flannel-ds.yaml b/ansible/roles/flannel/templates/flannel-ds.yaml index 117f9cf..e50f855 100644 --- a/ansible/roles/flannel/templates/flannel-ds.yaml +++ b/ansible/roles/flannel/templates/flannel-ds.yaml @@ -35,12 +35,11 @@ spec: priorityClassName: "system-node-critical" hostNetwork: true dnsPolicy: ClusterFirstWithHostNet - # TODO: figure out why flannel needs to run with root to modify network settings on the host - # Some setcap calls might be missing on its binary? + # TODO: figure out why privileged mode is also not enough for flannel to modify network settings on the host (same problem as watcher) #securityContext: # runAsUser: {{ caas.uid.flannel }} tolerations: - - key: node-role.kubernetes.io/master + - key: node.kubernetes.io/master operator: Exists effect: NoSchedule containers: