CI: Fix chart testing. (#12258)
Signed-off-by: Aran Shavit <Aranshavit@gmail.com> Co-authored-by: Aran Shavit <Aranshavit@gmail.com> Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
This commit is contained in:
parent
10e27edc89
commit
2616e8885f
3 changed files with 3 additions and 3 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
@ -256,7 +256,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: ServiceAccount
|
of: ServiceAccount
|
||||||
- equal:
|
- equal:
|
||||||
path: metadata.name
|
path: metadata.name
|
||||||
value: ingress-nginx-admission
|
value: RELEASE-NAME-ingress-nginx-admission
|
||||||
|
|
||||||
- it: should create a ServiceAccount with specified name if `controller.admissionWebhooks.patch.serviceAccount.name` is set
|
- it: should create a ServiceAccount with specified name if `controller.admissionWebhooks.patch.serviceAccount.name` is set
|
||||||
set:
|
set:
|
||||||
|
|
|
@ -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