I am using helm operators and I would like to convert the following command

kubectl patch deployment -n my_namespace myoperator-operator --type='json' 
-p='[ {"op": "replace", "path": "/spec/template/spec/containers/0/image", 
"value":"127.0.0.1/my-operator:myoperator_new_version"} ]'

in an ansible equivalent command. The reason behind this, is that I would 
like to create a role which will be called from a playbook. How to do this?

My question has been posted in stackoverflow as well

https://stackoverflow.com/questions/66796835/convert-a-kubectl-command-to-ansible-equivalent-command

Thank you in advance

George

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/323f4ff0-6d9f-49c5-9aeb-3c08f5b40dfen%40googlegroups.com.

Reply via email to