Skip to content
Snippets Groups Projects

Support Kubernetes PVCs

Merged Zeger-Jan van de Weg requested to merge zj-support-k8s-volumes into master
All threads resolved!

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

Edited by Zeger-Jan van de Weg

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Tomasz Maczukin
  • Tomasz Maczukin
  • @zj I left few comments.

  • assigned to @zj

  • Zeger-Jan van de Weg resolved all discussions

    resolved all discussions

  • @zj Looks good! :)

    After looking on this again two ideas came to my head:

    1. 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.
    2. Since Name for ConfigMap, PVC and Secret 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 of KupernetesPVC.Name should be changed from The name of the volume to The name of the volume and Persistent Volume Claim that should be used as a source. And the same for KubernetesConfigMap.Name and KubernetesSecret.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.

  • assigned to @zj

  • Zeger-Jan van de Weg resolved all discussions

    resolved all discussions

  • mentioned in issue #2573 (closed)

  • Zeger-Jan van de Weg resolved all discussions

    resolved all discussions

  • Tomasz Maczukin approved this merge request

    approved this merge request

  • Tomasz Maczukin mentioned in merge request !625 (merged)

    mentioned in merge request !625 (merged)

  • Please register or sign in to reply
    Loading