Skip to content

Commit

Permalink
Merge pull request #314 from galaxyproject/data_pvc
Browse files Browse the repository at this point in the history
Changes for not mounting entire NFS to each job
  • Loading branch information
afgane authored Apr 16, 2024
2 parents 0afe341 + cb7e7d3 commit 456fc6d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions galaxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -383,13 +383,20 @@ configs:
k8s:
load: galaxy.jobs.runners.kubernetes:KubernetesJobRunner
k8s_use_service_account: true
k8s_persistent_volume_claims: |-
k8s_data_volume_claim: |-
{{ template "galaxy.pvcname" . -}}:{{ .Values.persistence.mountPath -}}:r
k8s_working_volume_claim: |-
{{ template "galaxy.pvcname" . -}}:{{ .Values.persistence.mountPath -}}
k8s_persistent_volume_claims: |-
{{ template "galaxy.pvcname" . -}}/config:{{ .Values.persistence.mountPath -}}/config:r,
{{- template "galaxy.pvcname" . -}}/tmp:{{ .Values.persistence.mountPath -}}/tmp:rw,
{{- template "galaxy.pvcname" . -}}/tool-data:{{ .Values.persistence.mountPath -}}/tool-data:r,
{{- template "galaxy.pvcname" . -}}/tools:{{ .Values.persistence.mountPath -}}/tools:r
{{- if .Values.refdata.enabled -}}
,{{- template "galaxy.fullname" $ -}}-refdata-gxy-pvc/data.galaxyproject.org:/cvmfs/data.galaxyproject.org
,{{- template "galaxy.fullname" $ -}}-refdata-gxy-pvc/data.galaxyproject.org:/cvmfs/data.galaxyproject.org:r
{{- end -}}
{{- if .Values.setupJob.downloadToolConfs.enabled -}}
,{{ template "galaxy.pvcname" . -}}/{{ .Values.setupJob.downloadToolConfs.volume.subPath }}:{{ .Values.setupJob.downloadToolConfs.volume.mountPath -}}
,{{ template "galaxy.pvcname" . -}}/{{ .Values.setupJob.downloadToolConfs.volume.subPath }}:{{ .Values.setupJob.downloadToolConfs.volume.mountPath -}}:r
{{- end -}}
{{- if .Values.extraVolumes -}}
{{- template "galaxy.extra_pvc_mounts" . -}}
Expand Down

0 comments on commit 456fc6d

Please sign in to comment.