mirror of
https://github.com/truenas/charts.git
synced 2024-04-21 15:21:45 +00:00
fix jobPod
This commit is contained in:
@@ -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 = . -}}
|
||||
|
||||
Reference in New Issue
Block a user