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

Fix user created tag webhook being deleted by installer #47538

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

hanxiaop
Copy link
Member

@hanxiaop hanxiaop commented Oct 24, 2023

Please provide a description of this PR:
Fix #47423.

This is a regression introduced following #43897. Now user-generated labels will be identical to the installer created labels. As a result, a generated tag webhook will be managed by the installer as well.
However, they should be added/removed by using istioctl tag set/remove.

My approach is to remove the operator managed labels, since it was introduced by MergeCopy - this reverts to the previous behavior.

To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

  • Ambient
  • Configuration Infrastructure
  • Docs
  • Dual Stack
  • Installation
  • Networking
  • Performance and Scalability
  • Policies and Telemetry
  • Security
  • Test and Release
  • User Experience
  • Developer Infrastructure

Please check any characteristics that apply to this pull request.

  • Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@hanxiaop hanxiaop requested review from a team as code owners October 24, 2023 07:03
@istio-testing istio-testing added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 24, 2023
@hanxiaop hanxiaop added cherrypick/release-1.19 Set this label on a PR to auto-merge it to the release-1.19 branch cherrypick/release-1.20 Set this label on a PR to auto-merge it to the release-1.20 branch labels Oct 24, 2023
@hanxiaop hanxiaop force-pushed the fix-tag-webhook-being-deleted branch from b044d6e to e326fec Compare October 25, 2023 02:21
@hanxiaop hanxiaop added the do-not-merge/work-in-progress Block merging of a PR because it isn't ready yet. label Oct 25, 2023
@hanxiaop hanxiaop force-pushed the fix-tag-webhook-being-deleted branch from e326fec to f3f792e Compare October 25, 2023 03:53
@hanxiaop hanxiaop removed the request for review from a team October 25, 2023 03:54
@istio-testing istio-testing removed the do-not-merge/work-in-progress Block merging of a PR because it isn't ready yet. label Oct 25, 2023
@hanxiaop hanxiaop force-pushed the fix-tag-webhook-being-deleted branch from f3f792e to 27116d6 Compare October 25, 2023 03:58
@hanxiaop
Copy link
Member Author

/retest

@istio-testing
Copy link
Collaborator

In response to a cherrypick label: new pull request created: #47823

@istio-testing
Copy link
Collaborator

In response to a cherrypick label: new pull request created: #47824

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherrypick/release-1.19 Set this label on a PR to auto-merge it to the release-1.19 branch cherrypick/release-1.20 Set this label on a PR to auto-merge it to the release-1.20 branch size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

istio-operator/istioctl > 1.19 unexpectedly remove MutatingWebhookConfiguration::istio-revision-tag
3 participants