Skip to content
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

Projected volumes as workspaces #5075

Closed
0xFelix opened this issue Jul 5, 2022 · 0 comments · Fixed by #5085
Closed

Projected volumes as workspaces #5075

0xFelix opened this issue Jul 5, 2022 · 0 comments · Fixed by #5085
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@0xFelix
Copy link
Contributor

0xFelix commented Jul 5, 2022

Feature request

Support kubernetes projected volumes (https://kubernetes.io/docs/concepts/storage/projected-volumes/) as workspace type.

Use case

By using projected volumes a user could pass an arbitrary amount of ConfigMaps or Secrets to a PipelineRun/TaskRun without modifying the actual Task/ClusterTask.

In kubevirt-tekton-tasks we have tasks to customize/sysprep VM images, where this would allow to pass data in a flexible way. The user could pass multiple ConfigMaps or Secrets to the task, which would also allow to split and reuse them in several tasks.

spec:
 workspaces:
   - name: my-customization-data
     projected:
       sources:
        - secret:
            name: my-secrets
        - configMap:
            name: my-configs-1
        - configMap:
            name: my-configs-2
@0xFelix 0xFelix added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 5, 2022
tekton-robot pushed a commit that referenced this issue Jul 21, 2022
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 <fmatouschek@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant