Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add IdentfyingLabels to CreateOrUpdateWithOptions
If the GenerateName field is set in the target resource, the existing resource is searched for by the target's labels. However this assumes the labels remain static for the lifetime of the resource. If the labels are updated then the existing resource is not found and a new one is created. To avoid this, allow the user to specify which labels uniquely identify the resource by adding an IdentfyingLabels field to CreateOrUpdateOptions. Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
- Loading branch information