-
Notifications
You must be signed in to change notification settings - Fork 344
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
Promote crd to apiextensions.k8s.io/v1 #1456
Conversation
2151eb0
to
bf5f45e
Compare
Codecov Report
@@ Coverage Diff @@
## master #1456 +/- ##
==========================================
+ Coverage 86.88% 87.33% +0.44%
==========================================
Files 91 90 -1
Lines 5071 4982 -89
==========================================
- Hits 4406 4351 -55
+ Misses 510 478 -32
+ Partials 155 153 -2
Continue to review full report at Codecov.
|
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, but just to confirm: did you try this in OpenShift as well?
@@ -393,7 +393,7 @@ install-tools: | |||
golang.org/x/lint/golint \ | |||
golang.org/x/tools/cmd/goimports \ | |||
github.com/securego/gosec/cmd/[email protected] \ | |||
sigs.k8s.io/controller-tools/cmd/controller-gen@v0.3.0 \ | |||
sigs.k8s.io/controller-tools/cmd/controller-gen@v0.5.0 \ |
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.
Did bumping this version update the CRD yamls?
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.
or did you run any command to generate CRD yalms?
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 ran the controller-gen command and it generates the new CRD with the version.
Tested with CRC and all-in-one strategy and it works . |
I think I restarted the tests a couple of times already. If this fails again, it might be a real failure, @rubenvp8510 |
Yes, I was investigating about the failures, it seems like I need to migrate the Ingress API too, and because of that I need to bump some versions of the libraries, specifically |
6f98ffe
to
9dcce55
Compare
8e383b7
to
7545013
Compare
Signed-off-by: Ruben Vargas <[email protected]>
Signed-off-by: Ruben Vargas <[email protected]>
Signed-off-by: Ruben Vargas <[email protected]>
Signed-off-by: Ruben Vargas <[email protected]>
Signed-off-by: Ruben Vargas <[email protected]>
Signed-off-by: Ruben Vargas <[email protected]>
7268950
to
e329846
Compare
Signed-off-by: Ruben Vargas <[email protected]>
Signed-off-by: Ruben Vargas <[email protected]>
913a2f3
to
a5e39d0
Compare
Signed-off-by: Ruben Vargas <[email protected]>
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,
does this PR break compatibility with older k8s clusters?
- uses: actions/[email protected] | ||
- name: "setup docker" | ||
run: ./.ci/setup-docker.sh | ||
- uses: manusa/[email protected] |
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.
nice I didn't see this. In the future we could also consider using kind
.
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.
Indeed, the new e2e tests are using kind and kuttl :-)
Yes :( 1.19+ is required. |
Signed-off-by: Ruben Vargas [email protected]
This might break compatibility with k8s < 1.19, but is a necessary step to support k8s 1.22+
https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-22