Skip to content

cyverse/irods-csi-driver-helm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iRODS CSI Driver Helm Chart Repo

This repository publishes iRODS CSI Driver Helm Chart.

Adding this repository to your Helm

helm repo add irods-csi-driver-repo https://cyverse.github.io/irods-csi-driver-helm/
helm repo update

Verify the repository addition.

helm search repo irods

Installing iRODS CSI Driver Helm Chart

Following example installs the iRODS CSI Driver and irods-csi-driver will be the name of the driver installed. The iRODS CSI driver will be installed in a namespace irods-csi-driver.

helm install --create-namespace --namespace irods-csi-driver irods-csi-driver irods-csi-driver-repo/irods-csi-driver

To install the helm chart for proxy auth, create a yaml file with driver configuration. An example configuration file is available at proxy_config_example.yaml. Then install the driver with -f flag.

helm install --create-namespace --namespace irods-csi-driver irods-csi-driver irods-csi-driver-repo/irods-csi-driver -f ./proxy_config_example.yaml

Configuring iRODS CSI Driver Globally

Cluster admins can configure the iRODS CSI Driver's parameters. This can be used to provide default values or to provide proxy authentication.

To configure the iRODS CSI Driver globally, a secret <driver-installation-name>-global-secret should be created in the same namespace as the driver installed (default namespace by default). The secret will aready exist when the driver is installed. You will need to delete the existing secret and create a new one.

Following parameters can be set:

Parameter Name Description Example Value
client Default client type "irodsfuse"
host default iRODS hostname "data.cyverse.org"
port default iRODS port Optional, Default "1247"
zone default iRODS zone "iplant"
user iRODS proxy user id (used for proxy authentication) "rods"
password iRODS proxy user password "password" in plane text
volumeRootPath iRODS path to mount. Creates a subdirectory per persistent volume. (only for dynamic volume provisioning) "/iplant/dynamic_volumes"
enforceProxyAccess "true" to mandate passing clientUser, or giving different user as in global configuration. "false". "false" by default.
mountPathWhitelist a comma-separated list of paths to allow mount. "/iplant/home"

To create or delete secrets, please refer this manual Managing Secret using Kubectl.

Installing iRODS CSI Driver in K0S cluster

K0S is another Kubernetes distribution. Unlike other Kubernetes distributions using /var/lib/kubelet as kubelet directory, K0S uses /var/lib/k0s/kubelet. This causes iRODS CSI Driver to fail mounting a persistent volume. To solve this, set kubeletDir to /var/lib/k0s/kubelet.

You can do this by adding --set kubletDir=/var/lib/k0s/kubelet to install command like this.

helm install --create-namespace --namespace irods-csi-driver --set kubeletDir=/var/lib/k0s/kubelet irods-csi-driver irods-csi-driver-repo/irods-csi-driver

Or add following line to the user config file. An example configuration file is available at k0s.yaml.

kubeletDir: /var/lib/k0s/kubelet

About

Helm Chart Repository for iRODS CSI Driver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published