chore(argo-cd): Add chart tests for HA
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
cf51dc2d93
commit
0ceff128c5
5 changed files with 35 additions and 2 deletions
|
@ -1,2 +1,3 @@
|
||||||
/*.tgz
|
/*.tgz
|
||||||
output
|
output
|
||||||
|
ci/
|
||||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: 2.1.3
|
appVersion: 2.1.3
|
||||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 3.25.2
|
version: 3.25.3
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -21,4 +21,4 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Changed]: Reorganize some files in repo, move applications.yaml and projects.yaml into argocd-configs."
|
- "[Added]: Chart testing for HA setups"
|
||||||
|
|
1
charts/argo-cd/ci/default-values.yaml
Normal file
1
charts/argo-cd/ci/default-values.yaml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# Test with default values
|
16
charts/argo-cd/ci/ha-autoscaling-values.yaml
Normal file
16
charts/argo-cd/ci/ha-autoscaling-values.yaml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Test High Availability with autoscaling
|
||||||
|
redis-ha:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
controller:
|
||||||
|
enableStatefulSet: true
|
||||||
|
|
||||||
|
server:
|
||||||
|
autoscaling:
|
||||||
|
enabled: true
|
||||||
|
minReplicas: 2
|
||||||
|
|
||||||
|
repoServer:
|
||||||
|
autoscaling:
|
||||||
|
enabled: true
|
||||||
|
minReplicas: 2
|
15
charts/argo-cd/ci/ha-static-values.yaml
Normal file
15
charts/argo-cd/ci/ha-static-values.yaml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Test High Availability without autoscaling
|
||||||
|
redis-ha:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
controller:
|
||||||
|
enableStatefulSet: true
|
||||||
|
|
||||||
|
server:
|
||||||
|
replicas: 2
|
||||||
|
env:
|
||||||
|
- name: ARGOCD_API_SERVER_REPLICAS
|
||||||
|
value: '2'
|
||||||
|
|
||||||
|
repoServer:
|
||||||
|
replicas: 2
|
Loading…
Reference in a new issue