feat(argo-cd): add terminationGracePeriodSeconds (#2310)
Signed-off-by: toyamagu-2021 <toyamagu2021@gmail.com>
This commit is contained in:
parent
804af65b38
commit
a41b70b59c
10 changed files with 52 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.8.4
|
||||||
kubeVersion: ">=1.23.0-0"
|
kubeVersion: ">=1.23.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 5.46.8
|
version: 5.47.0
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -26,5 +26,5 @@ annotations:
|
||||||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: fixed
|
- kind: added
|
||||||
description: Sync redis / redis-ha readOnlyRootFilesystem=true option from upstream. This was part of Argo CD 2.8.0.
|
description: add terminationGracePeriodSeconds
|
||||||
|
|
|
@ -561,6 +561,7 @@ NAME: my-release
|
||||||
| controller.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
| controller.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
||||||
| controller.serviceAccount.name | string | `"argocd-application-controller"` | Service account name |
|
| controller.serviceAccount.name | string | `"argocd-application-controller"` | Service account name |
|
||||||
| controller.statefulsetAnnotations | object | `{}` | Annotations for the application controller StatefulSet |
|
| controller.statefulsetAnnotations | object | `{}` | Annotations for the application controller StatefulSet |
|
||||||
|
| controller.terminationGracePeriodSeconds | int | `30` | terminationGracePeriodSeconds for container lifecycle hook |
|
||||||
| controller.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
| controller.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
| controller.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the application controller |
|
| controller.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the application controller |
|
||||||
| controller.volumeMounts | list | `[]` | Additional volumeMounts to the application controller main container |
|
| controller.volumeMounts | list | `[]` | Additional volumeMounts to the application controller main container |
|
||||||
|
@ -653,6 +654,7 @@ NAME: my-release
|
||||||
| repoServer.serviceAccount.create | bool | `true` | Create repo server service account |
|
| repoServer.serviceAccount.create | bool | `true` | Create repo server service account |
|
||||||
| repoServer.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
| repoServer.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
||||||
| repoServer.serviceAccount.name | string | `""` | Repo server service account name |
|
| repoServer.serviceAccount.name | string | `""` | Repo server service account name |
|
||||||
|
| repoServer.terminationGracePeriodSeconds | int | `30` | terminationGracePeriodSeconds for container lifecycle hook |
|
||||||
| repoServer.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
| repoServer.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
| repoServer.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the repo server |
|
| repoServer.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the repo server |
|
||||||
| repoServer.useEphemeralHelmWorkingDir | bool | `true` | Toggle the usage of a ephemeral Helm working directory |
|
| repoServer.useEphemeralHelmWorkingDir | bool | `true` | Toggle the usage of a ephemeral Helm working directory |
|
||||||
|
@ -807,6 +809,7 @@ NAME: my-release
|
||||||
| server.serviceAccount.create | bool | `true` | Create server service account |
|
| server.serviceAccount.create | bool | `true` | Create server service account |
|
||||||
| server.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
| server.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
||||||
| server.serviceAccount.name | string | `"argocd-server"` | Server service account name |
|
| server.serviceAccount.name | string | `"argocd-server"` | Server service account name |
|
||||||
|
| server.terminationGracePeriodSeconds | int | `30` | terminationGracePeriodSeconds for container lifecycle hook |
|
||||||
| server.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
| server.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
| server.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the Argo CD server |
|
| server.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the Argo CD server |
|
||||||
| server.volumeMounts | list | `[]` | Additional volumeMounts to the server main container |
|
| server.volumeMounts | list | `[]` | Additional volumeMounts to the server main container |
|
||||||
|
@ -915,6 +918,7 @@ server:
|
||||||
| dex.servicePortHttp | int | `5556` | Service port for HTTP access |
|
| dex.servicePortHttp | int | `5556` | Service port for HTTP access |
|
||||||
| dex.servicePortHttpName | string | `"http"` | Service port name for HTTP access |
|
| dex.servicePortHttpName | string | `"http"` | Service port name for HTTP access |
|
||||||
| dex.servicePortMetrics | int | `5558` | Service port for metrics access |
|
| dex.servicePortMetrics | int | `5558` | Service port for metrics access |
|
||||||
|
| dex.terminationGracePeriodSeconds | int | `30` | terminationGracePeriodSeconds for container lifecycle hook |
|
||||||
| dex.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
| dex.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
| dex.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to dex |
|
| dex.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to dex |
|
||||||
| dex.volumeMounts | list | `[]` | Additional volumeMounts to the dex main container |
|
| dex.volumeMounts | list | `[]` | Additional volumeMounts to the dex main container |
|
||||||
|
@ -986,6 +990,7 @@ server:
|
||||||
| redis.serviceAccount.create | bool | `false` | Create a service account for the redis pod |
|
| redis.serviceAccount.create | bool | `false` | Create a service account for the redis pod |
|
||||||
| redis.serviceAccount.name | string | `""` | Service account name for redis pod |
|
| redis.serviceAccount.name | string | `""` | Service account name for redis pod |
|
||||||
| redis.servicePort | int | `6379` | Redis service port |
|
| redis.servicePort | int | `6379` | Redis service port |
|
||||||
|
| redis.terminationGracePeriodSeconds | int | `30` | terminationGracePeriodSeconds for container lifecycle hook |
|
||||||
| redis.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
| redis.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
| redis.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to redis |
|
| redis.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to redis |
|
||||||
| redis.volumeMounts | list | `[]` | Additional volumeMounts to the redis container |
|
| redis.volumeMounts | list | `[]` | Additional volumeMounts to the redis container |
|
||||||
|
@ -1136,6 +1141,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| applicationSet.serviceAccount.create | bool | `true` | Create ApplicationSet controller service account |
|
| applicationSet.serviceAccount.create | bool | `true` | Create ApplicationSet controller service account |
|
||||||
| applicationSet.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
| applicationSet.serviceAccount.labels | object | `{}` | Labels applied to created service account |
|
||||||
| applicationSet.serviceAccount.name | string | `"argocd-applicationset-controller"` | ApplicationSet controller service account name |
|
| applicationSet.serviceAccount.name | string | `"argocd-applicationset-controller"` | ApplicationSet controller service account name |
|
||||||
|
| applicationSet.terminationGracePeriodSeconds | int | `30` | terminationGracePeriodSeconds for container lifecycle hook |
|
||||||
| applicationSet.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
| applicationSet.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
| applicationSet.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the ApplicationSet controller |
|
| applicationSet.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the ApplicationSet controller |
|
||||||
| applicationSet.webhook.ingress.annotations | object | `{}` | Additional ingress annotations |
|
| applicationSet.webhook.ingress.annotations | object | `{}` | Additional ingress annotations |
|
||||||
|
@ -1214,6 +1220,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| notifications.serviceAccount.name | string | `"argocd-notifications-controller"` | Notification controller service account name |
|
| notifications.serviceAccount.name | string | `"argocd-notifications-controller"` | Notification controller service account name |
|
||||||
| notifications.subscriptions | list | `[]` | Contains centrally managed global application subscriptions |
|
| notifications.subscriptions | list | `[]` | Contains centrally managed global application subscriptions |
|
||||||
| notifications.templates | object | `{}` | The notification template is used to generate the notification content |
|
| notifications.templates | object | `{}` | The notification template is used to generate the notification content |
|
||||||
|
| notifications.terminationGracePeriodSeconds | int | `30` | terminationGracePeriodSeconds for container lifecycle hook |
|
||||||
| notifications.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
| notifications.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
|
||||||
| notifications.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the application controller |
|
| notifications.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the application controller |
|
||||||
| notifications.triggers | object | `{}` | The trigger defines the condition when the notification should be sent |
|
| notifications.triggers | object | `{}` | The trigger defines the condition when the notification should be sent |
|
||||||
|
|
|
@ -52,6 +52,9 @@ spec:
|
||||||
{{- with .Values.controller.priorityClassName | default .Values.global.priorityClassName }}
|
{{- with .Values.controller.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
priorityClassName: {{ . }}
|
priorityClassName: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.controller.terminationGracePeriodSeconds }}
|
||||||
|
terminationGracePeriodSeconds: {{ .Values.controller.terminationGracePeriodSeconds }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.controllerServiceAccountName" . }}
|
serviceAccountName: {{ include "argo-cd.controllerServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- args:
|
- args:
|
||||||
|
|
|
@ -52,6 +52,9 @@ spec:
|
||||||
{{- with .Values.applicationSet.priorityClassName | default .Values.global.priorityClassName }}
|
{{- with .Values.applicationSet.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
priorityClassName: {{ . }}
|
priorityClassName: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.applicationSet.terminationGracePeriodSeconds }}
|
||||||
|
terminationGracePeriodSeconds: {{ .Values.applicationSet.terminationGracePeriodSeconds }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.applicationSetServiceAccountName" . }}
|
serviceAccountName: {{ include "argo-cd.applicationSetServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.applicationSet.name }}
|
- name: {{ .Values.applicationSet.name }}
|
||||||
|
|
|
@ -51,6 +51,9 @@ spec:
|
||||||
{{- with .Values.notifications.priorityClassName | default .Values.global.priorityClassName }}
|
{{- with .Values.notifications.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
priorityClassName: {{ . }}
|
priorityClassName: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.notifications.terminationGracePeriodSeconds }}
|
||||||
|
terminationGracePeriodSeconds: {{ .Values.notifications.terminationGracePeriodSeconds }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.notificationsServiceAccountName" . }}
|
serviceAccountName: {{ include "argo-cd.notificationsServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.notifications.name }}
|
- name: {{ .Values.notifications.name }}
|
||||||
|
|
|
@ -62,6 +62,9 @@ spec:
|
||||||
{{- with .Values.repoServer.priorityClassName | default .Values.global.priorityClassName }}
|
{{- with .Values.repoServer.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
priorityClassName: {{ . }}
|
priorityClassName: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.repoServer.terminationGracePeriodSeconds }}
|
||||||
|
terminationGracePeriodSeconds: {{ .Values.repoServer.terminationGracePeriodSeconds }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.repoServerServiceAccountName" . }}
|
serviceAccountName: {{ include "argo-cd.repoServerServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.repoServer.name }}
|
- name: {{ .Values.repoServer.name }}
|
||||||
|
|
|
@ -53,6 +53,9 @@ spec:
|
||||||
{{- with .Values.server.priorityClassName | default .Values.global.priorityClassName }}
|
{{- with .Values.server.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
priorityClassName: {{ . }}
|
priorityClassName: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.server.terminationGracePeriodSeconds }}
|
||||||
|
terminationGracePeriodSeconds: {{ .Values.server.terminationGracePeriodSeconds }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.serverServiceAccountName" . }}
|
serviceAccountName: {{ include "argo-cd.serverServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.server.name }}
|
- name: {{ .Values.server.name }}
|
||||||
|
|
|
@ -55,6 +55,9 @@ spec:
|
||||||
{{- with .Values.dex.priorityClassName | default .Values.global.priorityClassName }}
|
{{- with .Values.dex.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
priorityClassName: {{ . }}
|
priorityClassName: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.dex.terminationGracePeriodSeconds }}
|
||||||
|
terminationGracePeriodSeconds: {{ .Values.dex.terminationGracePeriodSeconds }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ template "argo-cd.dexServiceAccountName" . }}
|
serviceAccountName: {{ template "argo-cd.dexServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.dex.name }}
|
- name: {{ .Values.dex.name }}
|
||||||
|
|
|
@ -48,6 +48,9 @@ spec:
|
||||||
{{- with .Values.redis.priorityClassName | default .Values.global.priorityClassName }}
|
{{- with .Values.redis.priorityClassName | default .Values.global.priorityClassName }}
|
||||||
priorityClassName: {{ . }}
|
priorityClassName: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.redis.terminationGracePeriodSeconds }}
|
||||||
|
terminationGracePeriodSeconds: {{ .Values.redis.terminationGracePeriodSeconds }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ include "argo-cd.redisServiceAccountName" . }}
|
serviceAccountName: {{ include "argo-cd.redisServiceAccountName" . }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Values.redis.name }}
|
- name: {{ .Values.redis.name }}
|
||||||
|
|
|
@ -731,6 +731,9 @@ controller:
|
||||||
# -- Number of seconds after which the [probe] times out
|
# -- Number of seconds after which the [probe] times out
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
|
||||||
|
# -- terminationGracePeriodSeconds for container lifecycle hook
|
||||||
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
||||||
# -- Priority class for the application controller pods
|
# -- Priority class for the application controller pods
|
||||||
# @default -- `""` (defaults to global.priorityClassName)
|
# @default -- `""` (defaults to global.priorityClassName)
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
@ -1074,6 +1077,9 @@ dex:
|
||||||
# -- Number of seconds after which the [probe] times out
|
# -- Number of seconds after which the [probe] times out
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
|
||||||
|
# -- terminationGracePeriodSeconds for container lifecycle hook
|
||||||
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
# -- Create dex service account
|
# -- Create dex service account
|
||||||
create: true
|
create: true
|
||||||
|
@ -1313,6 +1319,9 @@ redis:
|
||||||
# topologyKey: topology.kubernetes.io/zone
|
# topologyKey: topology.kubernetes.io/zone
|
||||||
# whenUnsatisfiable: DoNotSchedule
|
# whenUnsatisfiable: DoNotSchedule
|
||||||
|
|
||||||
|
# -- terminationGracePeriodSeconds for container lifecycle hook
|
||||||
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
# -- Create a service account for the redis pod
|
# -- Create a service account for the redis pod
|
||||||
create: false
|
create: false
|
||||||
|
@ -1718,6 +1727,9 @@ server:
|
||||||
# -- Number of seconds after which the [probe] times out
|
# -- Number of seconds after which the [probe] times out
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
|
||||||
|
# -- terminationGracePeriodSeconds for container lifecycle hook
|
||||||
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
||||||
# -- Priority class for the Argo CD server pods
|
# -- Priority class for the Argo CD server pods
|
||||||
# @default -- `""` (defaults to global.priorityClassName)
|
# @default -- `""` (defaults to global.priorityClassName)
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
@ -2261,6 +2273,9 @@ repoServer:
|
||||||
# -- Number of seconds after which the [probe] times out
|
# -- Number of seconds after which the [probe] times out
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
|
|
||||||
|
# -- terminationGracePeriodSeconds for container lifecycle hook
|
||||||
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
# @default -- `{}` (defaults to global.nodeSelector)
|
# @default -- `{}` (defaults to global.nodeSelector)
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
@ -2618,6 +2633,9 @@ applicationSet:
|
||||||
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
|
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
|
|
||||||
|
# -- terminationGracePeriodSeconds for container lifecycle hook
|
||||||
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
# @default -- `{}` (defaults to global.nodeSelector)
|
# @default -- `{}` (defaults to global.nodeSelector)
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
@ -2931,6 +2949,9 @@ notifications:
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
|
|
||||||
|
# -- terminationGracePeriodSeconds for container lifecycle hook
|
||||||
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
||||||
# -- [Node selector]
|
# -- [Node selector]
|
||||||
# @default -- `{}` (defaults to global.nodeSelector)
|
# @default -- `{}` (defaults to global.nodeSelector)
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
Loading…
Reference in a new issue