diff --git a/charts/windmill/README.md b/charts/windmill/README.md index 1e04d7a..c984163 100644 --- a/charts/windmill/README.md +++ b/charts/windmill/README.md @@ -175,7 +175,7 @@ Windmill - Turn scripts into endpoints, workflows and UIs in minutes | windmill.workerGroups[0].podSecurityContext.runAsUser | int | `0` | run as user. The default is 0 for root user | | windmill.workerGroups[0].replicas | int | `3` | | | windmill.workerGroups[0].resources | object | `{"limits":{"cpu":"1","memory":"2Gi"}}` | Resource limits and requests for the pods | -| windmill.workerGroups[0].terminationGracePeriodSeconds | int | `300` | If a job is being ran, the container will wait for it to finish before terminating until this grace period | +| windmill.workerGroups[0].terminationGracePeriodSeconds | int | `604800` | If a job is being ran, the container will wait for it to finish before terminating until this grace period | | windmill.workerGroups[0].tolerations | list | `[]` | Tolerations to apply to the pods | | windmill.workerGroups[0].volumeMounts | list | `[]` | | | windmill.workerGroups[0].volumes | list | `[]` | | diff --git a/charts/windmill/templates/worker-groups.yaml b/charts/windmill/templates/worker-groups.yaml index e29c440..01c5dfa 100644 --- a/charts/windmill/templates/worker-groups.yaml +++ b/charts/windmill/templates/worker-groups.yaml @@ -49,7 +49,7 @@ spec: {{- toYaml . | nindent 6 }} {{- end }} {{ end }} - terminationGracePeriodSeconds: {{ default 300 $v.terminationGracePeriodSeconds }} + terminationGracePeriodSeconds: {{ default 604800 $v.terminationGracePeriodSeconds }} containers: {{- with $v.extraContainers }} {{- toYaml . | nindent 6 }} diff --git a/charts/windmill/values.yaml b/charts/windmill/values.yaml index 0776cc2..939d990 100644 --- a/charts/windmill/values.yaml +++ b/charts/windmill/values.yaml @@ -78,7 +78,7 @@ windmill: annotations: {} # -- If a job is being ran, the container will wait for it to finish before terminating until this grace period - terminationGracePeriodSeconds: 300 + terminationGracePeriodSeconds: 604800 # -- Labels to apply to the pods labels: {}