Skip to content

Commit

Permalink
Pass CVMFS configuration to jupyterhub configuration
Browse files Browse the repository at this point in the history
This allows the CVMFS host path to be changed and make the jupyterhub
aware of such change. Otherwise, it will just default the path to the
default one (/var/cvmfs).
  • Loading branch information
PMax5 committed Mar 15, 2024
1 parent 891f0f1 commit 917b873
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion swan-cern/templates/hadoop-token-generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
volumes:
- name: cvmfs
hostPath:
path: {{ .Values.cvmfs.mountOptions.hostMountpoint }}
path: {{ .Values.swan.cvmfs.mountOptions.hostMountpoint }}
type: Directory
- name: swan-secrets
secret:
Expand Down
3 changes: 2 additions & 1 deletion swan/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cvmfs:
- cvmfs-config.cern.ch
- sft.cern.ch
- sft-nightlies.cern.ch
mountOptions:
mountOptions: &cvmfsMountOptions
hostMountpoint: /var/cvmfs
# Prefetcher is provided only by the daemonSet
prefetcher:
Expand Down Expand Up @@ -236,6 +236,7 @@ jupyterhub:
deployCsiDriver: *cvmfsDeployCSI
useCsiDriver: *cvmfsUseCSI
repositories: *cvmfsRepos
mountOptions: *cvmfsMountOptions
eos:
deployDaemonSet: *eosDeployDS
deployCsiDriver: *eosDeployCSI
Expand Down

0 comments on commit 917b873

Please sign in to comment.