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:
parent
0717586410
commit
e6587671d3
13 changed files with 108 additions and 11 deletions
6
.github/workflows/lint-and-test.yml
vendored
6
.github/workflows/lint-and-test.yml
vendored
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue