feat(argo-cd): add lifecycle hooks to repo server (#1922)
* add lifesycle webhook to repo server Signed-off-by: goshado <goshatoo@gmail.com> * add lifesycle webhook to repo server Signed-off-by: goshado <goshatoo@gmail.com> * add lifesycle webhook to repo server Signed-off-by: goshado <goshatoo@gmail.com> --------- Signed-off-by: goshado <goshatoo@gmail.com> Signed-off-by: GoshaDozoretz <106976988+gosharo@users.noreply.github.com> Co-authored-by: goshado <goshatoo@gmail.com>
This commit is contained in:
parent
1a5ee8eb35
commit
05bc6a236d
4 changed files with 11 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.7.2
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.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.33.4
|
version: 5.34.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: changed
|
- kind: added
|
||||||
description: Update redis-ha to v4.23.0
|
description: Add lifecycle webhook to repo server.
|
||||||
|
|
|
@ -594,6 +594,7 @@ NAME: my-release
|
||||||
| repoServer.image.tag | string | `""` (defaults to global.image.tag) | Tag to use for the repo server |
|
| repoServer.image.tag | string | `""` (defaults to global.image.tag) | Tag to use for the repo server |
|
||||||
| repoServer.imagePullSecrets | list | `[]` (defaults to global.imagePullSecrets) | Secrets with credentials to pull images from a private registry |
|
| repoServer.imagePullSecrets | list | `[]` (defaults to global.imagePullSecrets) | Secrets with credentials to pull images from a private registry |
|
||||||
| repoServer.initContainers | list | `[]` | Init containers to add to the repo server pods |
|
| repoServer.initContainers | list | `[]` | Init containers to add to the repo server pods |
|
||||||
|
| repoServer.lifecycle | object | `{}` | Specify postStart and preStop lifecycle hooks for your argo-repo-server container |
|
||||||
| repoServer.livenessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
| repoServer.livenessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
|
||||||
| repoServer.livenessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
| repoServer.livenessProbe.initialDelaySeconds | int | `10` | Number of seconds after the container has started before [probe] is initiated |
|
||||||
| repoServer.livenessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
| repoServer.livenessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
|
||||||
|
|
|
@ -275,6 +275,10 @@ spec:
|
||||||
{{- toYaml .Values.repoServer.resources | nindent 10 }}
|
{{- toYaml .Values.repoServer.resources | nindent 10 }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }}
|
{{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }}
|
||||||
|
{{- with .Values.repoServer.lifecycle }}
|
||||||
|
lifecycle:
|
||||||
|
{{- toYaml . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.repoServer.extraContainers }}
|
{{- with .Values.repoServer.extraContainers }}
|
||||||
{{- tpl (toYaml .) $ | nindent 6 }}
|
{{- tpl (toYaml .) $ | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -2059,6 +2059,9 @@ repoServer:
|
||||||
# - secretRef:
|
# - secretRef:
|
||||||
# name: secret-name
|
# name: secret-name
|
||||||
|
|
||||||
|
# -- Specify postStart and preStop lifecycle hooks for your argo-repo-server container
|
||||||
|
lifecycle: {}
|
||||||
|
|
||||||
# -- Additional containers to be added to the repo server pod
|
# -- Additional containers to be added to the repo server pod
|
||||||
## Ref: https://argo-cd.readthedocs.io/en/stable/user-guide/config-management-plugins/
|
## Ref: https://argo-cd.readthedocs.io/en/stable/user-guide/config-management-plugins/
|
||||||
## Note: Supports use of custom Helm templates
|
## Note: Supports use of custom Helm templates
|
||||||
|
|
Loading…
Reference in a new issue