Skip to content

Commit b59dbad

Browse files
committed
remove jobs.extra_volumes support form st2canary job
1 parent 48a1b6b commit b59dbad

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

templates/jobs.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -567,10 +567,6 @@ spec:
567567
- name: st2-pack-configs-vol
568568
mountPath: /opt/stackstorm/configs/
569569
readOnly: false
570-
{{- range $.Values.jobs.extra_volumes }}
571-
- name: {{ required "Each volume must have a 'name' in jobs.extra_volumes" .name }}
572-
{{- tpl (required "Each volume must have a 'mount' definition in jobs.extra_volumes" .mount | toYaml) $ | nindent 10 }}
573-
{{- end }}
574570
# TODO: Find out default resource limits for this specific job (#5)
575571
#resources:
576572
volumes:
@@ -580,10 +576,7 @@ spec:
580576
- name: st2-pack-configs-vol
581577
{{- toYaml $.Values.st2.packs.volumes.configs | nindent 10 }}
582578
{{- end }}
583-
{{- range $.Values.jobs.extra_volumes }}
584-
- name: {{ required "Each volume must have a 'name' in jobs.extra_volumes" .name }}
585-
{{- tpl (required "Each volume must have a 'volume' definition in jobs.extra_volumes" .volume | toYaml) $ | nindent 10 }}
586-
{{- end }}
579+
# st2canary job does not support extra_volumes. Let us know if you need this.
587580
{{- if $.Values.dnsPolicy }}
588581
dnsPolicy: {{ $.Values.dnsPolicy }}
589582
{{- end }}

0 commit comments

Comments
 (0)