c12s-kubespray/roles/kubernetes-apps/policy_controller/calico
Frank Ritchie f42e0a4711 Change update strategy to RollingUpdate.
When enable_network_policy is set to True with Calico 3 kubectl
apply fails with the error:

The Deployment "calico-kube-controllers" is invalid:
spec.strategy.rollingUpdate: Forbidden: may not be specified when
strategy type is 'Recreate'

See

https://github.com/kubernetes-incubator/kubespray/issues/3267

Changing the update strategy to RollingUpdate avoids this error.
2018-09-11 12:03:42 -04:00
..
defaults Always create service account even rbac_enabled = false 2018-08-22 11:41:29 +08:00
tasks calico upgrade to v3 (#3086) 2018-08-23 17:17:18 +03:00
templates Change update strategy to RollingUpdate. 2018-09-11 12:03:42 -04:00