-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ingress): implement pathType customization
- Loading branch information
1 parent
6c56aa3
commit c19a21f
Showing
5 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
suite: ingress | ||
templates: | ||
- ingress.yaml | ||
tests: | ||
- it: should not render by defaul | ||
asserts: | ||
- hasDocuments: | ||
count: 0 | ||
- it: should use pathType ImplementaionSpecific by default | ||
set: | ||
ingress: | ||
host: myhost | ||
path: / | ||
asserts: | ||
- hasDocuments: | ||
count: 1 | ||
- equal: | ||
path: spec.rules[0].http.paths[0].pathType | ||
value: ImplementationSpecific | ||
- it: should use pathType ImplementaionSpecific by default | ||
set: | ||
ingress: | ||
host: myhost | ||
path: / | ||
pathType: Prefix | ||
asserts: | ||
- hasDocuments: | ||
count: 1 | ||
- equal: | ||
path: spec.rules[0].http.paths[0].pathType | ||
value: Prefix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters