I’m attempting to edit a router-default deployment with ansible. I want to change a section in the router-default from:
topologyKey: kubernetes.io/hostname → topologyKey: failure-domain.beta.kubernetes.io/zone
I can successfully perform an oc edit on deployment.apps/router-default in the openshift-ingress namespace, but I can’t perform the same task with ansible.
When I run the ansible playbook, it says it successfully changed the 2 fields. When I run ansible with -vvv it shows the before and after as being changed. However, when I look at the router deployment using oc edit, the change is not applied.
John