-
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
Add support for projected volumes as workspace type #5085
Conversation
|
Hi @0xFelix. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/cc @vdemeester |
/ok-to-test |
/kind feature |
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.
PR looks good
Should we put this behind an alpha feature flag like we are doing with csi volumes in #5030 ? |
I'd argue it does not to be hidden behind a feature flag. It is a combination of existing functionality (Secrets, ConfigMaps) and is provided by K8S itself without any external dependencies. (unlike the CSI drivers in #5030) |
I would tend to agree with @0xFelix 👼🏼 |
@dibyom What do you think? |
@0xFelix @vdemeester I agree that while this is a new field it has fairly well scoped behavior. Where I was coming from was that I thought all new api fields in the beta API had to start behind the alpha feature gate or its own feature flag according to https://github.com/tektoncd/community/blob/main/teps/0033-tekton-feature-gates.md#new-api-fields. (I did not see this documented in our api policy - maybe we should do that. Or we could also relax our rules to allow for some fields to make it directly into beta without going through an alpha first - what do you think @vdemeester ?) |
Given that #5030 has been merged behind the feature-flag, maybe we should do the same. We can refine this a bit later then. |
/test tekton-pipeline-unit-tests |
By adding support for projected volumes [1] as workspace type an arbitrary amount of ConfigMaps or Secrets can be passed to a TaskRun/PipelineRun without modifying the actual Task/ClusterTask. This allows to pass data to Tasks/Pipelines in a flexible way. Fixes #5075 [1] https://kubernetes.io/docs/concepts/storage/projected-volumes Signed-off-by: Felix Matouschek <[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.
/meow
In response to this:
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. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: piyush-garg, vdemeester 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 |
/lgtm |
/retest |
Changes
Add support for projected volumes as workspace type
By adding support for projected volumes [1] as workspace type an
arbitrary amount of ConfigMaps or Secrets can be passed to a
TaskRun/PipelineRun without modifying the actual Task/ClusterTask.
This allows to pass data to Tasks/Pipelines in a flexible way.
Fixes #5075
[1] https://kubernetes.io/docs/concepts/storage/projected-volumes
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