I have Ansible AWX deployed in k8s cluster (https://github.com/ansible/awx-operator/). I am trying to modify configMap to change nginx settings, but all changes are rolled back in ~30 seconds after saving.
I've tried to use kubectl edit, patch and replace and the result is always same.
Why my changes are rolled back?
CodePudding user response:
Seems like another controller is also watching the configmap. If the other controller uses server-side-apply, you can check via the following, which controller updates the configmap too:
kubectl get cm <name> --show-managed-fields -o yaml
and then check the managed-fields section.