-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Allow wildcard at start string and end together #2130
feat: Allow wildcard at start string and end together #2130
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2130 +/- ##
==========================================
- Coverage 54.38% 54.30% -0.09%
==========================================
Files 111 111
Lines 9478 9504 +26
==========================================
+ Hits 5155 5161 +6
- Misses 3933 3946 +13
- Partials 390 397 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Looks like lint is failing... running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you revert the changes in charts/
folder? They should not be reflected in charts/
since that folder is reserved for versioned charts only.
also for the deploy folder? which has the manifest? |
4c6ad81
to
569bb16
Compare
yep, for deploy folder as well |
matches: false, | ||
}, | ||
{ | ||
name: "wild card at suffix and prefix, multiple hyphens", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we have a double-wildcard and no match, just to make sure that code path gets tested?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you for the PR!
3cfa568
to
169e785
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Erez Tamam <erezo9@gmail.com>
Signed-off-by: Erez Tamam <erezo9@gmail.com>
Signed-off-by: Erez Tamam <erezo9@gmail.com>
Signed-off-by: Erez Tamam <erezo9@gmail.com>
Signed-off-by: Erez Tamam <erezo9@gmail.com>
Signed-off-by: Erez Tamam <erezo9@gmail.com>
Signed-off-by: Erez Tamam <erezo9@gmail.com>
Signed-off-by: Erez Tamam <erezo9@gmail.com>
Signed-off-by: Erez Tamam <erezo9@gmail.com>
Signed-off-by: Erez Tamam <erezo9@gmail.com>
Signed-off-by: Erez Tamam <erezo9@gmail.com>
169e785
to
17d3f61
Compare
…ent#2130) * Change all roles to support extra rules Signed-off-by: Erez Tamam <erezo9@gmail.com> * add astrix on start and end Signed-off-by: Erez Tamam <erezo9@gmail.com> * add check of wild card, for both prefix and suffix Signed-off-by: Erez Tamam <erezo9@gmail.com> * remove rules from this pr Signed-off-by: Erez Tamam <erezo9@gmail.com> * remove new line Signed-off-by: Erez Tamam <erezo9@gmail.com> * lint files Signed-off-by: Erez Tamam <erezo9@gmail.com> * add test, fix misspelling Signed-off-by: Erez Tamam <erezo9@gmail.com> * add test for mutltiple hyphens Signed-off-by: Erez Tamam <erezo9@gmail.com> * remove change deploy and charts Signed-off-by: Erez Tamam <erezo9@gmail.com> * add 2 more tests Signed-off-by: Erez Tamam <erezo9@gmail.com> * change test name Signed-off-by: Erez Tamam <erezo9@gmail.com> Signed-off-by: Christoph Fraundorfer <christoph.fraundorfer@allianzdirect.de>
…ent#2130) * Change all roles to support extra rules Signed-off-by: Erez Tamam <erezo9@gmail.com> * add astrix on start and end Signed-off-by: Erez Tamam <erezo9@gmail.com> * add check of wild card, for both prefix and suffix Signed-off-by: Erez Tamam <erezo9@gmail.com> * remove rules from this pr Signed-off-by: Erez Tamam <erezo9@gmail.com> * remove new line Signed-off-by: Erez Tamam <erezo9@gmail.com> * lint files Signed-off-by: Erez Tamam <erezo9@gmail.com> * add test, fix misspelling Signed-off-by: Erez Tamam <erezo9@gmail.com> * add test for mutltiple hyphens Signed-off-by: Erez Tamam <erezo9@gmail.com> * remove change deploy and charts Signed-off-by: Erez Tamam <erezo9@gmail.com> * add 2 more tests Signed-off-by: Erez Tamam <erezo9@gmail.com> * change test name Signed-off-by: Erez Tamam <erezo9@gmail.com> Signed-off-by: Christoph Fraundorfer <christoph.fraundorfer@allianzdirect.de>
…ent#2130) * Change all roles to support extra rules Signed-off-by: Erez Tamam <erezo9@gmail.com> * add astrix on start and end Signed-off-by: Erez Tamam <erezo9@gmail.com> * add check of wild card, for both prefix and suffix Signed-off-by: Erez Tamam <erezo9@gmail.com> * remove rules from this pr Signed-off-by: Erez Tamam <erezo9@gmail.com> * remove new line Signed-off-by: Erez Tamam <erezo9@gmail.com> * lint files Signed-off-by: Erez Tamam <erezo9@gmail.com> * add test, fix misspelling Signed-off-by: Erez Tamam <erezo9@gmail.com> * add test for mutltiple hyphens Signed-off-by: Erez Tamam <erezo9@gmail.com> * remove change deploy and charts Signed-off-by: Erez Tamam <erezo9@gmail.com> * add 2 more tests Signed-off-by: Erez Tamam <erezo9@gmail.com> * change test name Signed-off-by: Erez Tamam <erezo9@gmail.com>
…ent#2130) * Change all roles to support extra rules Signed-off-by: Erez Tamam <erezo9@gmail.com> * add astrix on start and end Signed-off-by: Erez Tamam <erezo9@gmail.com> * add check of wild card, for both prefix and suffix Signed-off-by: Erez Tamam <erezo9@gmail.com> * remove rules from this pr Signed-off-by: Erez Tamam <erezo9@gmail.com> * remove new line Signed-off-by: Erez Tamam <erezo9@gmail.com> * lint files Signed-off-by: Erez Tamam <erezo9@gmail.com> * add test, fix misspelling Signed-off-by: Erez Tamam <erezo9@gmail.com> * add test for mutltiple hyphens Signed-off-by: Erez Tamam <erezo9@gmail.com> * remove change deploy and charts Signed-off-by: Erez Tamam <erezo9@gmail.com> * add 2 more tests Signed-off-by: Erez Tamam <erezo9@gmail.com> * change test name Signed-off-by: Erez Tamam <erezo9@gmail.com> Signed-off-by: davis-haba <davishaba@google.com>
What this PR does / why we need it:
add support for wild card at the end and start of a namespace
for example -dev-
Which issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):Fixes #2128
Special notes for your reviewer:
With the help of @maxsmythe was able to complete the PR