From 264283dce8e455bec31dbc09abf61cb4aebb846f Mon Sep 17 00:00:00 2001 From: Kewei Zhang Date: Mon, 16 Jun 2025 18:27:30 +1000 Subject: [PATCH 1/4] support trafficDistribution in argo repo service Signed-off-by: Kewei Zhang --- charts/argo-cd/templates/argocd-repo-server/service.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/argo-cd/templates/argocd-repo-server/service.yaml b/charts/argo-cd/templates/argocd-repo-server/service.yaml index 24ca10ef5..fe3001c44 100644 --- a/charts/argo-cd/templates/argocd-repo-server/service.yaml +++ b/charts/argo-cd/templates/argocd-repo-server/service.yaml @@ -23,3 +23,6 @@ spec: targetPort: repo-server selector: {{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.repoServer.name) | nindent 4 }} + {{- if .Values.repoServer.service.trafficDistribution }} + trafficDistribution: {{ .Values.repoServer.service.trafficDistribution }} + {{- end }} \ No newline at end of file From 768886c098bce6fdb24c6da6e6562f062fee78b5 Mon Sep 17 00:00:00 2001 From: Kewei Zhang Date: Mon, 16 Jun 2025 18:39:10 +1000 Subject: [PATCH 2/4] add release note Signed-off-by: Kewei Zhang --- charts/argo-cd/Chart.yaml | 7 ++++--- charts/argo-cd/templates/argocd-repo-server/service.yaml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 4237caaea..82c5613c9 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -3,7 +3,7 @@ appVersion: v3.0.6 kubeVersion: ">=1.25.0-0" description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 8.0.17 +version: 8.0.18 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png sources: @@ -26,5 +26,6 @@ annotations: fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252 url: https://argoproj.github.io/argo-helm/pgp_keys.asc artifacthub.io/changes: | - - kind: changed - description: Bump argo-cd to v3.0.6 + - kind: added + description: trafficDistribution to repo server service + diff --git a/charts/argo-cd/templates/argocd-repo-server/service.yaml b/charts/argo-cd/templates/argocd-repo-server/service.yaml index fe3001c44..7e20c8648 100644 --- a/charts/argo-cd/templates/argocd-repo-server/service.yaml +++ b/charts/argo-cd/templates/argocd-repo-server/service.yaml @@ -25,4 +25,4 @@ spec: {{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.repoServer.name) | nindent 4 }} {{- if .Values.repoServer.service.trafficDistribution }} trafficDistribution: {{ .Values.repoServer.service.trafficDistribution }} - {{- end }} \ No newline at end of file + {{- end }} From 8a53df4eb0b56dbc400f3978d27a4ce1e06cb9dd Mon Sep 17 00:00:00 2001 From: Marco Maurer Date: Mon, 16 Jun 2025 11:43:49 +0200 Subject: [PATCH 3/4] docs(argo-cd): Add new field "trafficDistribution" to values.yaml Signed-off-by: Marco Maurer --- charts/argo-cd/README.md | 1 + charts/argo-cd/values.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index aaee17272..93fb6b7f9 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -1013,6 +1013,7 @@ NOTE: Any values you put under `.Values.configs.cm` are passed to argocd-cm Conf | repoServer.service.labels | object | `{}` | Repo server service labels | | repoServer.service.port | int | `8081` | Repo server service port | | repoServer.service.portName | string | `"tcp-repo-server"` | Repo server service port name | +| repoServer.service.trafficDistribution | string | `""` | Traffic distribution preference for the repo server service. If the field is not set, the implementation will apply its default routing strategy. | | repoServer.serviceAccount.annotations | object | `{}` | Annotations applied to created service account | | repoServer.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account | | repoServer.serviceAccount.create | bool | `true` | Create repo server service account | diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index f9929614d..9018bcc00 100644 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -2871,6 +2871,8 @@ repoServer: port: 8081 # -- Repo server service port name portName: tcp-repo-server + # -- Traffic distribution preference for the repo server service. If the field is not set, the implementation will apply its default routing strategy. + trafficDistribution: "" ## Repo server metrics service configuration metrics: From 4807e5805113b0c4221f4e0d1c2dc05edca36fbd Mon Sep 17 00:00:00 2001 From: Marco Maurer Date: Mon, 16 Jun 2025 11:54:23 +0200 Subject: [PATCH 4/4] chore(argo-cd): Drop trailing space and bump minor chart version Signed-off-by: Marco Maurer --- charts/argo-cd/Chart.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index 82c5613c9..8c55519e7 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -3,7 +3,7 @@ appVersion: v3.0.6 kubeVersion: ">=1.25.0-0" description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 8.0.18 +version: 8.1.0 home: https://github.com/argoproj/argo-helm icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png sources: @@ -28,4 +28,3 @@ annotations: artifacthub.io/changes: | - kind: added description: trafficDistribution to repo server service -