Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated backport of #1001: Add IdentfyingLabels to CreateOrUpdateWithOptions #1003

Conversation

tpantelis
Copy link
Contributor

Backport of #1001 on release-0.19.

#1001: Add IdentfyingLabels to CreateOrUpdateWithOptions

For details on the backport process, see the backport requests page.

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]>
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr1003/tpantelis/automated-backport-of-#1001-upstream-release-0.19

@tpantelis tpantelis requested a review from yboaron October 7, 2024 11:59
@tpantelis tpantelis merged commit 48e5c5e into submariner-io:release-0.19 Oct 7, 2024
16 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr1003/tpantelis/automated-backport-of-#1001-upstream-release-0.19]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants