Support Kubernetes PVCs
Does this MR meet the acceptance criteria?
-
Documentation created/updated - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Branch has no merge conflicts with master
(if you do - rebase it please)
What are the relevant issue numbers?
Fixes gitlab-org/gitlab-ci-multi-runner#2258
Merge request reports
Activity
@carllhw Could you elaborate? I wonder what you're referring to other that mounting on a subpath. Please note, I myself are quite new to k8s, thats why I don't really understand what feature you're requesting.
assigned to @tmaczukin
- Resolved by Zeger-Jan van de Weg
- Resolved by Zeger-Jan van de Weg
- Resolved by Zeger-Jan van de Weg
@zj I left few comments.
assigned to @zj
assigned to @tmaczukin
@zj Looks good! :)
After looking on this again two ideas came to my head:
- We should add support for
ConfigMapVolumeSource.Items
. Having this the user will be able to select which values from the ConfigMap should be mounted and in which files they should be stored. This is of course an improvement that could be added in the future, but I think it's so easy to implement right now that we should add it. - Since
Name
forConfigMap
,PVC
andSecret
configuration structures is used as volume name and as a reference to the source we should probably add this to the description, so - for example - description ofKupernetesPVC.Name
should be changed fromThe name of the volume
toThe name of the volume and Persistent Volume Claim that should be used as a source
. And the same forKubernetesConfigMap.Name
andKubernetesSecret.Name
.
Before merging this MR we should also update documentation of Kubernetes executor because at this moment it doesn't describes volumes support at all.
- We should add support for
assigned to @zj
- Resolved by Zeger-Jan van de Weg
We should add support for
ConfigMapVolumeSource.Items
@tmaczukin Given I'm leaving for my two weeks of vacation soon, I'd like to cut scope now and ship what we have. I just pushed the docs. Would you be ok with that? If so, I'll create an issue from this comment
assigned to @tmaczukin
mentioned in issue #2573 (closed)
mentioned in merge request !625 (merged)