xk6-kubernetes
xk6-kubernetes copied to clipboard
Re-implement generic Apply method using dynamic client's apply
Presently the Apply
method provided by the generic API is implemented as a Create
from a yaml
file. This is not consistent with the experience that users may have with thekubectl apply
command that allows both creating new resources or modifying existing resources.
Starting with v1.25
the dynamic client now offers an Apply
method which implements the desired functionality, allowing both the creation or the modification of resources.
Therefore, it would be convenient for the sake of consistency and convenience to re-implement the Apply
method in the generic API using this newly provided Apply
method in the dynamic client.
Can we close this one? @pablochacin :eyes: