fix jobPod

This commit is contained in:
Stavros kois
2023-01-25 19:32:30 +02:00
parent 6b41d8360a
commit feb58922fb
2 changed files with 2 additions and 2 deletions
@@ -510,7 +510,7 @@ tests:
job-name:
enabled: true
podSpec:
terminationGracePeriodSeconds: 50
terminationGracePeriodSeconds: "{{ .Values.key }}"
containers:
main:
imageSelector: image
@@ -155,7 +155,7 @@
{{- end -}}
{{- $termSeconds := "" -}}
{{- with $values.termination -}}
{{- with $values.terminationGracePeriodSeconds -}}
{{- if eq (toString .) $inherit -}}
{{- with $root.Values.terminationGracePeriodSeconds -}}
{{- $termSeconds = . -}}