Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
name: cvmfs | ||
provisioner: cvmfs.csi.cern.ch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: cvmfs | ||
spec: | ||
accessModes: | ||
- ReadOnlyMany | ||
resources: | ||
requests: | ||
# Volume size value has no effect and is ignored | ||
# by the driver, but must be non-zero. | ||
storage: 1 | ||
storageClassName: cvmfs | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This is a YAML-formatted file. | ||
# Declare variables to be passed into your templates. | ||
|
||
# Extra ConfigMaps to create and manage by the chart release. | ||
# These can be used e.g. when defining CVMFS client configuration. | ||
# ConfigMap data supports go-template expressions. | ||
extraConfigMaps: | ||
# /etc/cvmfs/config.d/ | ||
cvmfs-csi-config-d: {} | ||
# /etc/cvmfs/default.local | ||
cvmfs-csi-default-local: | ||
default.local: | | ||
CVMFS_USE_GEOAPI=yes | ||
CVMFS_HTTP_PROXY="http://grid-squid01.desy.de:3128;http://grid-squid02.desy.de:3128;http://grid-squid03.desy.de:3128;http://grid-squid04.desy.de:3128;http://grid-squid05.desy.de:3128;http://grid-squid06.desy.de:3128;DIRECT" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: cvmfs-demo | ||
spec: | ||
containers: | ||
- name: demo | ||
image: busybox | ||
imagePullPolicy: IfNotPresent | ||
command: [ "/bin/sh", "-c", "trap : TERM INT; (while true; do sleep 1000; done) & wait" ] | ||
volumeMounts: | ||
- name: cvmfs | ||
mountPath: /cvmfs | ||
# CVMFS automount volumes must be mounted with HostToContainer mount propagation. | ||
mountPropagation: HostToContainer | ||
volumes: | ||
- name: cvmfs | ||
persistentVolumeClaim: | ||
claimName: cvmfs | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters