feat(argo-cd): manage CRD by Helm (#1342)

* feat(argo-cd): manage CRD by Helm
Signed-off-by: yu-croco <yuki.kita22@gmail.com>

* feat: Implement "crds.keep" like argo-events chart

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

* fix(argo-cd): update path of ArgoCD CRDs
Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix: Don't keep CRDs during chart testing

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

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Aikawa 2022-08-25 17:42:43 +09:00 committed by GitHub
parent 0717586410
commit e6587671d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 108 additions and 11 deletions

View file

@ -1,7 +1,7 @@
## Reference: https://github.com/helm/chart-testing-action
name: Linting and Testing
on: pull_request
jobs:
jobs:
chart-test:
runs-on: ubuntu-latest
steps:
@ -37,7 +37,7 @@ jobs:
fi
- name: Run chart-testing (lint)
run: ct lint --debug --config ./.github/configs/ct-lint.yaml --lint-conf ./.github/configs/lintconf.yaml
- name: Run docs-testing (helm-docs)
id: helm-docs
run: |
@ -60,7 +60,7 @@ jobs:
if: |
contains(steps.list-changed.outputs.changed_charts, 'argocd-image-updater')
run: |
kubectl apply -f charts/argo-cd/crds
kubectl apply -f charts/argo-cd/templates/crds
- name: Skip HPA tests of ArgoCD
if: contains(steps.list-changed.outputs.changed_charts, 'argo-cd')