diff --git a/divingbell/templates/bin/_perm.sh.tpl b/divingbell/templates/bin/_perm.sh.tpl index edfece7..444ef48 100644 --- a/divingbell/templates/bin/_perm.sh.tpl +++ b/divingbell/templates/bin/_perm.sh.tpl @@ -17,6 +17,9 @@ */}} {{- $perm_loop_sleep_interval := 60 }} +{{- if and (hasKey .Values.conf "perm") (hasKey .Values.conf.perm "rerun_loop_sleep_interval") }} + {{- $perm_loop_sleep_interval = .Values.conf.perm.rerun_loop_sleep_interval | int }} +{{- end }} set -e