chore(argo-cd): Add chart tests for HA

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Marco Kilchhofer 2021-09-27 22:06:50 +02:00
parent cf51dc2d93
commit 0ceff128c5
5 changed files with 35 additions and 2 deletions

View file

@ -1,2 +1,3 @@
/*.tgz
output
ci/

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.1.3
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 3.25.2
version: 3.25.3
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords:
@ -21,4 +21,4 @@ dependencies:
condition: redis-ha.enabled
annotations:
artifacthub.io/changes: |
- "[Changed]: Reorganize some files in repo, move applications.yaml and projects.yaml into argocd-configs."
- "[Added]: Chart testing for HA setups"

View file

@ -0,0 +1 @@
# Test with default values

View 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

View 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