CI: Fix chart testing. (#12260)
Co-authored-by: Aran Shavit <Aranshavit@gmail.com>
This commit is contained in:
parent
d45149f5d7
commit
0a82e711de
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
@ -240,7 +240,7 @@ jobs:
|
||||||
git diff --exit-code charts/ingress-nginx/README.md
|
git diff --exit-code charts/ingress-nginx/README.md
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: helm unittest charts/ingress-nginx
|
run: helm unittest charts/ingress-nginx --file "tests/**/*_test.yaml"
|
||||||
|
|
||||||
chart-test:
|
chart-test:
|
||||||
name: Chart / Test
|
name: Chart / Test
|
||||||
|
|
|
@ -20,7 +20,7 @@ tests:
|
||||||
of: ValidatingWebhookConfiguration
|
of: ValidatingWebhookConfiguration
|
||||||
- equal:
|
- equal:
|
||||||
path: metadata.name
|
path: metadata.name
|
||||||
value: RELEASE-NAME-admission
|
value: RELEASE-NAME-ingress-nginx-admission
|
||||||
|
|
||||||
- it: should create a ValidatingWebhookConfiguration with a custom port if `controller.admissionWebhooks.service.servicePort` is set
|
- it: should create a ValidatingWebhookConfiguration with a custom port if `controller.admissionWebhooks.service.servicePort` is set
|
||||||
set:
|
set:
|
||||||
|
|
Loading…
Reference in a new issue