A toleration needs to be added to all pods since the
node-role.kubernetes.io/master taint will be restored to all master
nodes. This will ensure that the pod will run on the master node.
Test Plan:
PASS: After controller node taint application is applied
PASS: If controller has no taint application is applied
FAIL (expected): After user override removing toleration apply fails
PASS: Other taint is added to controller and after user overrides apply
succceeds
Notes:
- Tested in AIO-SX (Both Virt. and Physical Machine)
- Tested with taint node-role.kubernetes.io/master:NoSchedule
- Tested with taint openstack-compute-node:NoSchedule
- Apply fails -> pods pending untolerated taints
Story: 2009232
Task: 44116
Depends-On: https://review.opendev.org/c/starlingx/openstack-armada-app/+/813239
Signed-off-by: Lucas Cavalcante <lucasmedeiros.cavalcante@windriver.com>
Change-Id: Id51ac972668e57d78218a8c8acbea615857aad1a