csi-rclone

module
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2024 License: Apache-2.0

README

CSI rclone mount plugin

This project implements Container Storage Interface (CSI) plugin that allows using rclone mount as storage backend. Rclone mount points and parameters can be configured using Secret or PersistentVolume volumeAttibutes.

Installing CSI driver to kubernetes cluster

Changelog

See CHANGELOG.txt

Dev Environment

This repo uses nix for the dev environment. Alternatively, run nix develop to enter a dev shell.

Ensure that nix, direnv and nix-direnv are installed. Also add the following to your nix.conf:

experimental-features = nix-command flakes

then commands can be run like e.g. nix run '.#initKind'. Check flakes.nix for all available commands.

To deploy the test cluster and run tests, run

$ nix run '.#initKind'
$ nix run '.#getKubeconfig'
$ nix run '.#deployToKind'
$ go test -v ./...

in your shell, or if you're in a nix shell, run

$ init-kind-cluster
$ get-kind-kubeconfig
$ local-deploy
$ go test -v ./...

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL