Content-Length: 317247 | pFad | https://github.com/istio/istio/pull/46202

6B reuse annotation from api by hzxuzhonghu · Pull Request #46202 · istio/istio · GitHub
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

reuse annotation from api #46202

Merged
merged 4 commits into from
Jul 28, 2023
Merged

Conversation

hzxuzhonghu
Copy link
Member

@hzxuzhonghu hzxuzhonghu commented Jul 27, 2023

Please provide a description of this PR:

@hzxuzhonghu hzxuzhonghu requested review from a team as code owners July 27, 2023 03:43
@istio-testing istio-testing added needs-rebase Indicates a PR needs to be rebased before being merged size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 27, 2023
@istio-testing istio-testing removed the needs-rebase Indicates a PR needs to be rebased before being merged label Jul 27, 2023
@@ -101,7 +91,7 @@ type Controller struct {
// do not support writing. We only use it here for reading WorkloadEntry/WorkloadGroup.
store model.ConfigStoreController

// Note: unregister is to update the workload entry status: like setting `DisconnectedAtAnnotation`
// Note: unregister is to update the workload entry status: like setting `annotation.IoIstioDisconnectedAt.Name`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: comment with actual annotation name is more readable

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, will restore

// TODO use status or another proper API instead of annotations

// AutoRegistrationGroupAnnotation on a WorkloadEntry stores the associated WorkloadGroup.
AutoRegistrationGroupAnnotation = "istio.io/autoRegistrationGroup"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be it is lot simpler to replace the name at this constant and use the constants every where?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but just align with others

@hzxuzhonghu hzxuzhonghu added the release-notes-none Indicates a PR that does not require release notes. label Jul 27, 2023
@hzxuzhonghu
Copy link
Member Author

/test integ-pilot

@istio-testing istio-testing merged commit 8c7364d into istio:master Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes-none Indicates a PR that does not require release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/istio/istio/pull/46202

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy