Skip to content

Commit

Permalink
CI: Fix chart testing. (#12257)
Browse files Browse the repository at this point in the history
Signed-off-by: Aran Shavit <[email protected]>
Co-authored-by: Marco Ebert <[email protected]>
  • Loading branch information
Aransh and Gacko authored Oct 29, 2024
1 parent 4f62e98 commit 6608eb2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ jobs:
git diff --exit-code charts/ingress-nginx/README.md
- name: Run tests
run: helm unittest charts/ingress-nginx
run: helm unittest charts/ingress-nginx --file "tests/**/*_test.yaml"

chart-test:
name: Chart / Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tests:
of: ServiceAccount
- equal:
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
set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tests:
of: ValidatingWebhookConfiguration
- equal:
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
set:
Expand Down

0 comments on commit 6608eb2

Please sign in to comment.