Skip to content

Commit 7b30c3b

Browse files
authored
chore(argo-cd): add shard option for clusterCredentials (argoproj#2779)
feat(argocd): add shard option for clusterCredentials Signed-off-by: Clement Chevalier <[email protected]>
1 parent ad8d48c commit 7b30c3b

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

charts/argo-cd/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: v2.11.3
33
kubeVersion: ">=1.23.0-0"
44
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
55
name: argo-cd
6-
version: 7.3.0
6+
version: 7.3.1
77
home: https://github.com/argoproj/argo-helm
88
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
99
sources:
@@ -27,4 +27,4 @@ annotations:
2727
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
2828
artifacthub.io/changes: |
2929
- kind: changed
30-
description: make PrometheusRule deployment conditional on CRD existence
30+
description: add shard option for clusterCredentials

charts/argo-cd/templates/argocd-configs/cluster-secrets.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ metadata:
1919
{{- end }}
2020
type: Opaque
2121
stringData:
22+
{{- if $cluster_value.shard }}
23+
shard: {{ $cluster_value.shard }}
24+
{{- end }}
2225
name: {{ required "A valid .Values.configs.clusterCredentials.CLUSTERNAME.name entry is required!" $cluster_key }}
2326
server: {{ required "A valid .Values.configs.clusterCredentials.CLUSTERNAME.server entry is required!" $cluster_value.server }}
2427
{{- if $cluster_value.namespaces }}

charts/argo-cd/values.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,16 @@ configs:
461461
# tlsClientConfig:
462462
# insecure: false
463463
# caData: "<base64 encoded certificate>"
464+
# mycluster4-sharded:
465+
# shard: 1
466+
# server: https://mycluster4.example.com
467+
# labels: {}
468+
# annotations: {}
469+
# config:
470+
# bearerToken: "<authentication token>"
471+
# tlsClientConfig:
472+
# insecure: false
473+
# caData: "<base64 encoded certificate>"
464474

465475
# -- Repository credentials to be used as Templates for other repos
466476
## Creates a secret for each key/value specified below to create repository credentials

0 commit comments

Comments
 (0)