feat(argo-cd): Add JQ Path expression timeout

Signed-off-by: Tim Collins <tim@thecollins.team>
This commit is contained in:
Tim Collins 2024-04-26 15:47:53 +01:00
parent 74b77b90b6
commit 673ee6d4f3
No known key found for this signature in database
GPG key ID: 09F625E00301ED18
4 changed files with 22 additions and 3 deletions

View file

@ -3,7 +3,7 @@ appVersion: v2.10.8
kubeVersion: ">=1.23.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 6.7.16
version: 6.7.17
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:
@ -26,5 +26,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Bump argo-cd to v2.10.8
- kind: added
description: JQ Path expression timeout

View file

@ -268,6 +268,12 @@ spec:
name: argocd-cmd-params-cm
key: controller.diff.server.side
optional: true
- name: ARGOCD_IGNORE_NORMALIZER_JQ_TIMEOUT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.ignore.normalizer.jq.timeout
optional: true
{{- with .Values.controller.envFrom }}
envFrom:
{{- toYaml . | nindent 10 }}

View file

@ -267,6 +267,12 @@ spec:
name: argocd-cmd-params-cm
key: controller.diff.server.side
optional: true
- name: ARGOCD_IGNORE_NORMALIZER_JQ_TIMEOUT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.ignore.normalizer.jq.timeout
optional: true
{{- with .Values.controller.envFrom }}
envFrom:
{{- toYaml . | nindent 10 }}

View file

@ -272,6 +272,13 @@ configs:
## Set comma-separated list. (e.g. app-team-one, app-team-two)
application.namespaces: ""
# -- JQ Path expression timeout
## By default, the evaluation of a JQPathExpression is limited to one second.
## If you encounter a "JQ patch execution timed out" error message due to a complex JQPathExpression
## that requires more time to evaluate, you can extend the timeout period by configuring the `ignore.normalizer.jq.timeout`
## setting within the `argocd-cmd-params-cm` ConfigMap.
controller.ignore.normalizer.jq.timeout: "5s"
# Argo CD RBAC policy configuration
## Ref: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/rbac.md
rbac: