I try to change the “Docker Image” of a “workload” via rancher api v3
I did manage to find how to do it via kubectl
kubectl set image deployment documentservice documentservice=private.depot.net/services/document-service:latest -n services
But, can’t find a way to do the same with Rancher API without sending a bigpayload with extrat information not needed.
I seek some thingth that would look like that
curl -u “token:KEY” -X POST -H “Accept: application/json” -H “Content-Type: application/json”
I did found some old post on this forum about this, but no good answer.
Link of old post
A simple solution existe outside hack or usage of kubectl ?