What would you like to be added:
Documentation of how to run a specific plan via the k8s API.
Why is this needed:
We are using KUDO in a scenario where we need to automate our process. We cannot use kubectl in the process.
Further details:
Running a specific plan is mentioned here using $ kubectl kudo plan trigger --name deploy --instance my-instance. We would like to do the same using the k8s API.
It looks like the code that is run by the command above is UpdateInstance.
Would it be a safe approach to patch the instance with the following (as the UpdateInstance method does)?
What would you like to be added: Documentation of how to run a specific plan via the k8s API.
Why is this needed: We are using KUDO in a scenario where we need to automate our process. We cannot use
kubectl
in the process.Further details: Running a specific plan is mentioned here using
$ kubectl kudo plan trigger --name deploy --instance my-instance
. We would like to do the same using the k8s API.It looks like the code that is run by the command above is UpdateInstance.
Would it be a safe approach to patch the instance with the following (as the UpdateInstance method does)?