Skip to content

Commit 6608eb2

Browse files
AranshGacko
andauthored
CI: Fix chart testing. (#12257)
Signed-off-by: Aran Shavit <[email protected]> Co-authored-by: Marco Ebert <[email protected]>
1 parent 4f62e98 commit 6608eb2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ jobs:
256256
git diff --exit-code charts/ingress-nginx/README.md
257257
258258
- name: Run tests
259-
run: helm unittest charts/ingress-nginx
259+
run: helm unittest charts/ingress-nginx --file "tests/**/*_test.yaml"
260260

261261
chart-test:
262262
name: Chart / Test

charts/ingress-nginx/tests/admission-webhooks/job-patch/serviceaccount_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ tests:
2020
of: ServiceAccount
2121
- equal:
2222
path: metadata.name
23-
value: ingress-nginx-admission
23+
value: RELEASE-NAME-ingress-nginx-admission
2424

2525
- it: should create a ServiceAccount with specified name if `controller.admissionWebhooks.patch.serviceAccount.name` is set
2626
set:

charts/ingress-nginx/tests/admission-webhooks/validating-webhook_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ tests:
2020
of: ValidatingWebhookConfiguration
2121
- equal:
2222
path: metadata.name
23-
value: RELEASE-NAME-admission
23+
value: RELEASE-NAME-ingress-nginx-admission
2424

2525
- it: should create a ValidatingWebhookConfiguration with a custom port if `controller.admissionWebhooks.service.servicePort` is set
2626
set:

0 commit comments

Comments
 (0)