-
Notifications
You must be signed in to change notification settings - Fork 665
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
internal/dag: Remove Ingress v1beta1 #3645
internal/dag: Remove Ingress v1beta1 #3645
Conversation
Converted to draft b/c this package refactor relies on others |
added release note labels because this will make Contour unusable in versions of k8s that do not have ingress v1, as we're no longer falling back to v1beta1 |
- Removes v1beta1 tests - Removes v1beta1 Ingress insertion/deletion from cache - Note: This will mean k8s pre-1.19 will stop working with Ingress v1beta1 since Ingress v1 does not exist yet in those versions Updates: projectcontour#3628 Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
1386ef7
to
fe133d6
Compare
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
Codecov Report
@@ Coverage Diff @@
## main #3645 +/- ##
==========================================
- Coverage 77.08% 76.85% -0.23%
==========================================
Files 100 100
Lines 7121 7056 -65
==========================================
- Hits 5489 5423 -66
- Misses 1511 1513 +2
+ Partials 121 120 -1
|
…1-dag Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
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.
LGTM
@@ -3080,777 +3079,575 @@ func TestDAGInsert(t *testing.T) { | |||
}, | |||
} | |||
|
|||
i1 := &v1beta1.Ingress{ | |||
// s3a and b have http/2 protocol annotations |
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.
oof, this file's diff is pretty hard to review, but tests are passing so 🤞
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.
yeah, i think its maybe best to look at with the split diff type rather than the unified one, should just mostly be removals
v1beta1 since Ingress v1 does not exist yet in those versions
Updates: #3628