Skip to content

Commit

Permalink
feat: create new test in ingress_multipath_test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mels committed May 20, 2024
1 parent 643245a commit 970df18
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Binary file modified charts/cron-job/charts/common-0.5.1.tgz
Binary file not shown.
Binary file modified charts/onechart/charts/common-0.5.1.tgz
Binary file not shown.
9 changes: 7 additions & 2 deletions charts/onechart/tests/ingress_multipath_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ tests:
- equal:
path: spec.rules[0].http.paths[0].path
value: "/"
- it: Should use path
- it: Should use paths
set:
ingress:
host: chart-example.local
path: "/mypath"
paths:
- path: /mypath
- path: /mypath2
asserts:
- equal:
path: spec.rules[0].http.paths[0].path
value: "/mypath"
- equal:
path: spec.rules[0].http.paths[1].path
value: "/mypath2"

0 comments on commit 970df18

Please sign in to comment.