chore(argo-cd): Add chart tests and usage info in README for HA (#951)

* chore: Reconfigure KinD to 1 control-plane and 3 worker nodes

This prepares chart testing of 'argo-cd' chart with redis-ha enabled. Redis-ha defines hard pod anti-affinity and requires multiple worker nodes.

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

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

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

* Add HA chapter to README

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

* Skip HPA tests of ArgoCD

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Marco Kilchhofer 2021-10-19 17:50:42 +02:00 committed by GitHub
parent 7ce743b266
commit fbea5aa49b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 95 additions and 3 deletions

View file

@ -39,6 +39,8 @@ jobs:
- name: Create kind cluster
uses: helm/kind-action@v1.2.0
if: steps.list-changed.outputs.changed == 'true'
with:
config: .github/configs/kind-config.yaml
- name: Deploy latest ArgoCD CRDs when testing ArgoCD extensions
if: |
@ -48,6 +50,12 @@ jobs:
run: |
kubectl apply -f charts/argo-cd/crds
- name: Skip HPA tests of ArgoCD
if: contains(steps.list-changed.outputs.changed_charts, 'argo-cd')
run: |
## Metrics API not available in kind cluster
rm charts/argo-cd/ci/ha-autoscaling-values.yaml
- name: Run chart-testing (install)
run: ct install --config ./.github/configs/ct-install.yaml
if: steps.list-changed.outputs.changed == 'true'