-
Notifications
You must be signed in to change notification settings - Fork 18
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 <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters