-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add mandatory Gateway API label to the policy CRDs #295
Conversation
9beab51
to
11b55d1
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #295 +/- ##
==========================================
- Coverage 64.50% 64.39% -0.11%
==========================================
Files 35 35
Lines 3806 3806
==========================================
- Hits 2455 2451 -4
- Misses 1155 1159 +4
Partials 196 196
Flags with carried forward coverage won't be shown. Click here to find out more.
|
11b55d1
to
16bf5fa
Compare
@@ -6,6 +6,7 @@ metadata: | |||
creationTimestamp: null | |||
labels: | |||
app: kuadrant | |||
gateway.networking.k8s.io/policy: inherited |
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.
inherited
? Shouldn't be direct
?
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.
Of course! My distraction! Fixing it now.
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.
In fact, I've just noticed that the one in the AuthPolicy is also wrong!!!
// +kubebuilder:metadata:labels="gateway.networking.k8s.io/policy=inherited" |
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.
Fixed both, and rebased.
16bf5fa
to
495e494
Compare
gateway.networking.k8s.io/policy
label to the RateLimitPolicy CRDgateway.networking.k8s.io/policy
label in the AuthPolicy CRDRef.: https://github.com/youngnick/gateway-api/blob/main/geps/gep-713.md#standard-label-on-crd-objects
Closes #245.