feat(argo-cd): support trafficDistribution in argo repo service (#3358)

* support trafficDistribution in argo repo service

Signed-off-by: Kewei Zhang <keweizhang411@gmail.com>

* add release note

Signed-off-by: Kewei Zhang <keweizhang411@gmail.com>

* docs(argo-cd): Add new field "trafficDistribution" to values.yaml

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* chore(argo-cd): Drop trailing space and bump minor chart version

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: Kewei Zhang <keweizhang411@gmail.com>
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
main argo-cd-8.1.0
Kewei Zhang 2025-06-16 20:04:55 +10:00 committed by GitHub
parent 39fa0a75d2
commit 7e6a32751d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 3 deletions

View File

@ -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.1.0
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 v3.0.6
- kind: added
description: trafficDistribution to repo server service

View File

@ -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 |

View File

@ -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 }}

View File

@ -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: