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:
parent
7ce743b266
commit
fbea5aa49b
8 changed files with 95 additions and 3 deletions
8
.github/workflows/lint-and-test.yml
vendored
8
.github/workflows/lint-and-test.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue