-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Mark v1beta1 apis as deprecated #6876
Conversation
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
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.
Thanks, Lee! Changes look good to me. I'm curious about what is the impact of marking the v1beta1
crds as deprecated
? Does it mean I can no longer kubectl apply
a v1beta1 pipelinerun
for example?
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.
/test pull-tekton-pipeline-go-coverage
There is no change until the CRD is "removed" (i.e. not served anymore). |
/hold Just wanted to give @pritidesai an opportunity to review this as she commented about this topic during the last WG. |
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.
Thank you!
/approve
@lbernick and I talked offline, thanks @lbernick for this PR 🙏 Once the PR is updated to include the steps you shared, we can merge this.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afrittoli, jerop, pritidesai The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-tekton-pipeline-integration-tests |
Done! |
So this mean we are planning to remove In addition, all our "plumbing" (here in So.. I am really worried about marking it as deprecated it as early as 0.50 (July release). /hold |
If we want to allow more time to migrate from v1beta1 to v1, we should discuss changing our compatibility policy. If we don't follow our compatibility policy, how will we know when it's acceptable to remove support for these CRDs? I also just want to note a few things:
That's a good point; it could definitely make sense to have some usage of v1 in plumbing before we mark v1beta1 as deprecated. We can also upgrade the 4 tasks in tektoncd-catalog but I don't think we should wait for the tasks in tektoncd/catalog to upgrade. (However, I'd hope our integration tests and upgrade tests are good enough to give us sufficient confidence in the v1 api!) |
@vdemeester I've opened #6923 for discussion on the beta CRD support window. |
@vdemeester @lbernick shall we try and get this merged for v0.50? |
@afrittoli I would say yes 🙃 |
/hold cancel |
@lbernick needs a rebase 🙏🏼 |
Now that v1 versions of Task, TaskRun, Pipeline, and PipelineRun are available and used as the storage version of these APIs, this commit marks the v1beta1 versions of these APIs as deprecated. This commit also clarifies that "support" for these APIs during the deprecation period means that they will receive bug fixes but not new features.
done! just needs lgtm |
/lgtm |
Now that v1 versions of Task, TaskRun, Pipeline, and PipelineRun are available and used as the storage version of these APIs, this commit marks the v1beta1 versions of these APIs as deprecated.
This commit also clarifies that "support" for these APIs during the deprecation period means that they will receive bug fixes but not new features.
/kind documentation
Part of #5541
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes