feat(argo-cd): Add ability to add project scoped cluster(s) (#1913)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
b34b555b7a
commit
fa17c46a73
3 changed files with 17 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.6.5
|
|||
kubeVersion: ">=1.22.0-0"
|
||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 5.26.3
|
||||
version: 5.27.0
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||
sources:
|
||||
|
@ -23,5 +23,5 @@ dependencies:
|
|||
condition: redis-ha.enabled
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- kind: fixed
|
||||
description: Use default metrics port for argocd-server
|
||||
- kind: added
|
||||
description: Ability to add project scoped cluster(s)
|
||||
|
|
|
@ -26,6 +26,9 @@ stringData:
|
|||
clusterResources: {{ .clusterResources | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .project }}
|
||||
project: {{ .project | quote }}
|
||||
{{- end }}
|
||||
config: |
|
||||
{{- required "A valid .Values.configs.clusterCredentials[].config entry is required!" .config | toRawJson | nindent 4 }}
|
||||
{{- end }}
|
||||
|
|
|
@ -379,6 +379,7 @@ configs:
|
|||
## Ref:
|
||||
## - https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#clusters
|
||||
## - https://argo-cd.readthedocs.io/en/stable/operator-manual/security/#external-cluster-credentials
|
||||
## - https://argo-cd.readthedocs.io/en/stable/user-guide/projects/#project-scoped-repositories-and-clusters
|
||||
clusterCredentials: []
|
||||
# - name: mycluster
|
||||
# server: https://mycluster.com
|
||||
|
@ -400,6 +401,16 @@ configs:
|
|||
# tlsClientConfig:
|
||||
# insecure: false
|
||||
# caData: "<base64 encoded certificate>"
|
||||
# - name: mycluster3-project-scoped
|
||||
# server: https://mycluster3.com
|
||||
# labels: {}
|
||||
# annotations: {}
|
||||
# project: my-project1
|
||||
# config:
|
||||
# bearerToken: "<authentication token>"
|
||||
# tlsClientConfig:
|
||||
# insecure: false
|
||||
# caData: "<base64 encoded certificate>"
|
||||
|
||||
# DEPRECATED - Moved to configs.ssh.annotations
|
||||
# knownHostsAnnotations: {}
|
||||
|
|
Loading…
Reference in a new issue