Cattle-cluster-agent ignores updated deployment after restart

Hello! The problem is that, cattle-cluster-agent doesn’t use the extra settings i put in the .yaml file before kubectl deployment (dnsPolicy: Default and hostNetwork: true) after restarting. So it’ll run fine and show up in rancher, but then restart and be unable to find my rancher server, because it uses the wrong resolv.conf file.