From 21e99877c69d86e7667c1612c5cecabe1d7c2bbe Mon Sep 17 00:00:00 2001 From: Justin Marquis <76892343+34fathombelow@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:12:51 -0700 Subject: [PATCH] Feat/argocd v2.11.9 (#76) Signed-off-by: Justin Marquis --- charts/argo-cd/Chart.yaml | 4 ++-- charts/argo-cd/README.md | 2 +- charts/argo-cd/templates/redis-ha/haproxy-config.yaml | 4 ++++ charts/argo-cd/values.yaml | 7 ++++++- hack/compare-cd.sh | 1 + 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 0b03bd8..33c8b44 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 -version: 2.11.8-ak.0.0 -appVersion: 2.11.8 +version: 2.11.9-ak.0.0 +appVersion: 2.11.9 description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd home: https://charts.akuity.io diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index f99129e..14bb996 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -1,6 +1,6 @@ # argo-cd -![Version: 2.11.8-ak.0.0](https://img.shields.io/badge/Version-2.11.7--ak.0.0-informational?style=flat-square) ![AppVersion: 2.11.8](https://img.shields.io/badge/AppVersion-2.11.8-informational?style=flat-square) +![Version: 2.11.9-ak.0.0](https://img.shields.io/badge/Version-2.11.7--ak.0.0-informational?style=flat-square) ![AppVersion: 2.11.9](https://img.shields.io/badge/AppVersion-2.11.9-informational?style=flat-square) A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. diff --git a/charts/argo-cd/templates/redis-ha/haproxy-config.yaml b/charts/argo-cd/templates/redis-ha/haproxy-config.yaml index e127b0d..de955bf 100644 --- a/charts/argo-cd/templates/redis-ha/haproxy-config.yaml +++ b/charts/argo-cd/templates/redis-ha/haproxy-config.yaml @@ -17,7 +17,11 @@ data: maxmemory 0 maxmemory-policy volatile-lru min-replicas-max-lag 5 +{{- range .Values.redis.config }} + {{ . }} + {{- else }} min-replicas-to-write 1 + {{- end }} rdbchecksum yes rdbcompression yes repl-diskless-sync yes diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index 0de4747..ff06bb7 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -345,7 +345,12 @@ dex: # -- Redis configurations redis: enabled: true - + config: + ## Additional redis conf options can be added below + ## For all available options see http://download.redis.io/redis-stable/redis.conf + - min-replicas-to-write 0 + - client-output-buffer-limit replica 512mb 128mb 60 + - repl-backlog-size 512mb image: repository: quay.io/akuity/redis # https://hub.docker.com/_/redis/ diff --git a/hack/compare-cd.sh b/hack/compare-cd.sh index 036b417..ebeed4e 100755 --- a/hack/compare-cd.sh +++ b/hack/compare-cd.sh @@ -14,6 +14,7 @@ helm template \ --set global.image.repository=quay.io/argoproj/argocd \ --set global.image.tag="v$upstream_version" \ --set global.image.pullPolicy=Always \ + --set redis.config=null \ --namespace foo "$chart_root" | grep -v imagePullPolicy > "$helm_tmpdir/helm.yaml" echo """