Skip to content

Kubernetes volumes improve

TimeBye requested to merge TimeBye/gitlab-runner:kubernetes-volumes-improve into main

What does this MR do?

Why was this MR needed?

  • Clusters provided by some public cloud providers do not support the creation of PVs and PVCs, but Pods can mount nfs directly. For example AliCloud Serverless Kubernetes Cluster

  • Sometimes I just want to mount a file instead of a directory. If there is no subPath then the implementation is not very friendly.

Are there points in the code the reviewer needs to double check?

  • No need

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

#3223 (closed)

!878 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports