CI: Fix chart testing. (#12260)

Co-authored-by: Aran Shavit <Aranshavit@gmail.com>
This commit is contained in:
Marco Ebert 2024-10-29 13:52:03 +01:00 committed by GitHub
parent d45149f5d7
commit 0a82e711de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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: