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

Synchronize ingress annotations on all traffic segments. #564

Merged
merged 19 commits into from
Jan 18, 2024

Conversation

gargravarr
Copy link
Contributor

@gargravarr gargravarr commented Jan 10, 2024

This Pull Request (PR) adds a feature to synchronize annotations on all traffic segments (Ingress and/or RouteGroup).

When the controller starts with a configuration file specifying which annotation keys to synchronize, if a user creates or updates a StackSet where the Ingress or RouteGroup section contain one or many of the synchronized annotations, the reconciler will then ensure that all Ingress or RouteGroup traffic segment resources from Stacks contain the synchronized annotations.

Conversely, if a user removes one of the synchronized annotations from the StackSet's Ingress or RouteGroup definition, the reconciler will in turn delete the annotation on all Stack's Ingress or RouteGroup traffic segment resources.

We define the annotation keys to synchronize using the variadic flag --sync-ingress-annotation.

All the generated client code in pkg/client and pkg/apis/zalando-org/v1 is due to the fact that it's 2024 🙂

@gargravarr gargravarr marked this pull request as ready for review January 15, 2024 17:07
@gargravarr gargravarr requested review from linki and removed request for linki January 15, 2024 17:18
Signed-off-by: Rodrigo Reis <[email protected]>
Signed-off-by: Rodrigo Reis <[email protected]>
@myaser
Copy link
Member

myaser commented Jan 17, 2024

👍🏻

@gargravarr
Copy link
Contributor Author

👍

1 similar comment
@katyanna
Copy link
Member

👍

@gargravarr gargravarr merged commit 1c25f6d into master Jan 18, 2024
7 checks passed
@gargravarr gargravarr deleted the sync-annotations branch January 18, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants