-
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
WIP: Add support for using CSIVolumeSource as workspaces #4825
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The following is the coverage report on the affected files.
|
Thank you @vdemeester Re: Figure out if I need to write a TEP or not 🙏🏼 My $0.02 - The new experimental TEP process says we should start with a issue or a PR labelled [design-idea] and that "if the change is agreed to be small enough that a doc is not warranted and PRs can be opened and merged directly, " - IMO this is a good example of an instance where we can skip the design doc and merge :) |
Yes! This is exactly the kind of change I'd like for us to at least consider as not needing a TEP. FWIW I think it's possible, since this is both a relatively small and relatively well understood addition to the API. The only real gap I see is a testing plan, but I believe in @vdemeester to come up with something for that. |
Yes, that's why it's a |
This adds support for using kubernetes CSI volumes (https://kubernetes.io/docs/concepts/storage/volumes/#csi) as workspaces. This opens a lot of possibility as it would enable users to use alternative volumes for their workspace. An example is the Secrets Store CSI Driver (https://secrets-store-csi-driver.sigs.k8s.io/introduction.html) to use Hashicorp Vault. It could also open doors for Tekton to ship its own CSI driver to share data between tasks without the need of a PVC. Signed-off-by: Vincent Demeester <[email protected]>
fee2a9c
to
3443590
Compare
The following is the coverage report on the affected files.
|
@vdemeester: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Closing in favor of #5030 😉 |
Changes
This adds support for using kubernetes CSI
volumes (https://kubernetes.io/docs/concepts/storage/volumes/#csi) as
workspaces.
This opens a lot of possibility as it would enable users to use
alternative volumes for their workspace. An example is the Secrets
Store CSI
Driver (https://secrets-store-csi-driver.sigs.k8s.io/introduction.html)
to use Hashicorp Vault.
It could also open doors for Tekton to ship its own CSI driver to
share data between tasks without the need of a PVC.
Signed-off-by: Vincent Demeester [email protected]
/kind feature
/cc @tektoncd/core-maintainers @imjasonh @abayer
Closes #4446
This still needs
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
(if there are no user facing changes, use release note "NONE")
Release Notes