chore(argo-workflows): Support podGCDeleteDelayDuration and podGCGracePeriodSeconds (#1728)
Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
parent
5bd70fbd24
commit
4b8703db75
4 changed files with 18 additions and 2 deletions
|
@ -3,7 +3,7 @@ appVersion: v3.4.4
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.22.6
|
version: 0.22.7
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
sources:
|
sources:
|
||||||
|
@ -13,4 +13,4 @@ maintainers:
|
||||||
url: https://argoproj.github.io/
|
url: https://argoproj.github.io/
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Added]: Suuport envFrom for main container"
|
- "[Added]: Support podGCDeleteDelayDuration and podGCGracePeriodSeconds"
|
||||||
|
|
|
@ -111,6 +111,8 @@ Fields to note:
|
||||||
| controller.pdb.enabled | bool | `false` | Configure [Pod Disruption Budget] for the controller pods |
|
| controller.pdb.enabled | bool | `false` | Configure [Pod Disruption Budget] for the controller pods |
|
||||||
| controller.persistence | object | `{}` | enable persistence using postgres |
|
| controller.persistence | object | `{}` | enable persistence using postgres |
|
||||||
| controller.podAnnotations | object | `{}` | podAnnotations is an optional map of annotations to be applied to the controller Pods |
|
| controller.podAnnotations | object | `{}` | podAnnotations is an optional map of annotations to be applied to the controller Pods |
|
||||||
|
| controller.podGCDeleteDelayDuration | string | `5s` (Argo Workflows default) | The duration in seconds before the pods in the GC queue get deleted. A zero value indicates that the pods will be deleted immediately. |
|
||||||
|
| controller.podGCGracePeriodSeconds | string | `30` seconds (Kubernetes default) | Specifies the duration in seconds before a terminating pod is forcefully killed. A zero value indicates that the pod will be forcefully terminated immediately. |
|
||||||
| controller.podLabels | object | `{}` | Optional labels to add to the controller pods |
|
| controller.podLabels | object | `{}` | Optional labels to add to the controller pods |
|
||||||
| controller.podSecurityContext | object | `{}` | SecurityContext to set on the controller pods |
|
| controller.podSecurityContext | object | `{}` | SecurityContext to set on the controller pods |
|
||||||
| controller.priorityClassName | string | `""` | Leverage a PriorityClass to ensure your pods survive resource shortages. |
|
| controller.priorityClassName | string | `""` | Leverage a PriorityClass to ensure your pods survive resource shortages. |
|
||||||
|
|
|
@ -181,3 +181,9 @@ data:
|
||||||
{{- with .Values.controller.kubeConfig }}
|
{{- with .Values.controller.kubeConfig }}
|
||||||
kubeConfig: {{- toYaml . | nindent 6 }}
|
kubeConfig: {{- toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.controller.podGCGracePeriodSeconds }}
|
||||||
|
podGCGracePeriodSeconds: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.controller.podGCDeleteDelayDuration }}
|
||||||
|
podGCDeleteDelayDuration: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -316,6 +316,14 @@ controller:
|
||||||
# # volume name when mounting the secret, default to kubeconfig
|
# # volume name when mounting the secret, default to kubeconfig
|
||||||
# volumeName: kube-config-volume
|
# volumeName: kube-config-volume
|
||||||
|
|
||||||
|
# -- Specifies the duration in seconds before a terminating pod is forcefully killed. A zero value indicates that the pod will be forcefully terminated immediately.
|
||||||
|
# @default -- `30` seconds (Kubernetes default)
|
||||||
|
podGCGracePeriodSeconds:
|
||||||
|
|
||||||
|
# -- The duration in seconds before the pods in the GC queue get deleted. A zero value indicates that the pods will be deleted immediately.
|
||||||
|
# @default -- `5s` (Argo Workflows default)
|
||||||
|
podGCDeleteDelayDuration: ""
|
||||||
|
|
||||||
# mainContainer adds default config for main container that could be overriden in workflows template
|
# mainContainer adds default config for main container that could be overriden in workflows template
|
||||||
mainContainer:
|
mainContainer:
|
||||||
# -- imagePullPolicy to apply to Workflow main container. Defaults to `.Values.images.pullPolicy`.
|
# -- imagePullPolicy to apply to Workflow main container. Defaults to `.Values.images.pullPolicy`.
|
||||||
|
|
Loading…
Reference in a new issue