Skip to content

Commit

Permalink
make conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Sep 23, 2024
1 parent 23fad34 commit eaf3bf4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ spec:
component: loculus-preprocessing-{{ $organism }}-v{{ $processingConfig.version }}-{{ $processingIndex }}
spec:
{{- include "possiblePriorityClassName" $ | nindent 6 }}
{{- if $processingConfig.configFile }}
initContainers:
- name: version-check
image: busybox
Expand All @@ -50,6 +51,7 @@ spec:
volumeMounts:
- name: preprocessing-config-volume-{{ $organism }}-v{{ $processingConfig.version }}-{{ $processingIndex }}
mountPath: /etc/config
{{- end }}
containers:
- name: preprocessing-{{ $organism }}
image: {{ $processingConfig.image}}:{{ $dockerTag }}
Expand Down

0 comments on commit eaf3bf4

Please sign in to comment.