-
Notifications
You must be signed in to change notification settings - Fork 39
feat: enhance Gateway API plugin with in-progress label management #155
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
base: main
Are you sure you want to change the base?
Conversation
- Added support for automatic labeling of Gateway API routes during canary deployments to prevent GitOps drift. - Updated documentation to reflect new features, including the ability to customize or disable the in-progress label. - Improved tests to verify the addition and removal of the in-progress label for HTTP, gRPC, TCP, and TLS routes. This change enhances the integration with GitOps tools like Argo CD, ensuring smoother deployments and better resource management. Signed-off-by: rick.stokkingreef <rick.stokkingreef@airalo.com>
0f7dc39 to
005b751
Compare
Signed-off-by: rick.stokkingreef <rick.stokkingreef@airalo.com>
Signed-off-by: rick.stokkingreef <rick.stokkingreef@airalo.com>
Signed-off-by: rick.stokkingreef <rick.stokkingreef@airalo.com>
Signed-off-by: rick.stokkingreef <rick.stokkingreef@airalo.com>
kostis-codefresh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks for this.
Can you confirm please that the flaky test suite works ok locally in your workstation?
test/e2e/single_httproute_test.go
Outdated
| waitCondition.ResourceMatch( | ||
| resourcesMap[HTTP_ROUTE_KEY], | ||
| getMatchHTTPRouteFetcher(t, FIRST_CANARY_ROUTE_WEIGHT), | ||
| getMatchHTTPRouteWithLabelFetcher(t, FIRST_CANARY_ROUTE_WEIGHT, false), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe leave the http route test as is?
And then create a brand new test for labels? Is the test behavior unchanged in all other ways?
test/cluster-setup/sanity-check.sh
Outdated
|
|
||
| sleep 10 | ||
|
|
||
| kubectl get gatewayclasses traefik |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you explain why this is needed here? Why do we check twice the same command?
Did something change in the latest Traefik version and it is slower to start up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed the Condition/Status was not Accepted right away, when this script was triggered (at least locally) a wait for 10 seconds should make it a bit more stable. Migth be related to the updates of the charts and versions
Signed-off-by: rick.stokkingreef <rick.stokkingreef@airalo.com>
This change enhances the integration with GitOps tools like Argo CD, ensuring smoother deployments and better resource management.