git-csi-driver

git-csi-driver mounts a git repository as a Kubernetes volume on a liken cluster. The pod sees a plain directory. A read-only volume follows its branch or tag as it moves. On a writeable volume, the driver commits what the application writes and pushes it to the repository.

It fits two kinds of use:

Start here:

The driver defines no custom resources. A PersistentVolume names the repository, a VolumeAttributesClass sets when the driver commits and pushes, and a PersistentVolumeClaim binds the two. A read-only volume needs no class, and an inline one needs only the csi block in the pod spec.

git-csi-driver is one of the extension operators for mounting storage .