Add support for nfs mounts

I couldn't get the tests to run locally. Hopefully I didn't miss anything

What does this MR do?

This MR aims to support nfs mounts in the kubernetes executor of gitlab runner

Why was this MR needed?

For local caching we would like to mount an nfs share

What's the best way to test this MR?

When this MR is successful, it should be possible to mount nfs shares in the following way:

[[runners]]
  # usual configuration
  executor = "kubernetes"
  [runners.kubernetes]
    [[runners.kubernetes.volumes.nfs]]
      name = "nfs"
      mount_path = "/path/to/mount/point"
      read_only = false
      server = "foo.bar.com"
      path = "/path/on/nfs-share"

What are the relevant issue numbers?

Edited by Julian Rettelbach

Merge request reports

Loading