Skip to content

Commit

Permalink
Merge pull request #440 from galaxyproject/439-guard-cvmfs-fix
Browse files Browse the repository at this point in the history
Only execute the hook-cvmfs-fix if CVMFS is actually enabled.
  • Loading branch information
nuwang authored Aug 19, 2023
2 parents f33151b + 7c489f4 commit 96508a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions galaxy/templates/hook-cvmfs-fix.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{{- if and .Values.refdata.enabled (eq .Values.refdata.type "cvmfs") }}
# Include the code you want to run when both conditions are met
apiVersion: batch/v1
kind: Job
metadata:
Expand Down Expand Up @@ -33,3 +35,5 @@ spec:
- name: kubectl-script
configMap:
name: "{{ .Release.Name }}-configmap-cvmfs-fix"
{{- end }}

0 comments on commit 96508a1

Please sign in to comment.