-
Notifications
You must be signed in to change notification settings - Fork 419
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
Adds field labels-exclusion-pattern in feature-flag to exclude labels #1227
Conversation
The following is the coverage report on the affected files.
|
2db366c
to
0d49b18
Compare
The following is the coverage report on the affected files.
|
0d49b18
to
560e8c0
Compare
The following is the coverage report on the affected files.
|
560e8c0
to
600be83
Compare
The following is the coverage report on the affected files.
|
600be83
to
1d5df9c
Compare
The following is the coverage report on the affected files.
|
1d5df9c
to
e48b702
Compare
The following is the coverage report on the affected files.
|
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.
Thanks @sm43 Code looks good. Just a few small things:
-
Could we add a test with an invalid regex pattern for this line
return "", fmt.Errorf("invalid value for feature flag %q: %q", labelsExclusionPattern, pattern)
-
Let's document this in the docs/
-
Add a release notes section to this PR since this is a new feature.
e48b702
to
c182035
Compare
The following is the coverage report on the affected files.
|
@dibyom Thanks for the review. I have addressed the comments. Please take a look :) |
c182035
to
4a30160
Compare
The following is the coverage report on the affected files.
|
One little thing otherwise LGTM! /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dibyom The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This adds a new field in feature-flag `labels-exclusion-pattern` which by default is empty and takes regex pattern as input. If defined this would filter out labels from propagating from el to resources created for it such as deployment, service. Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
4a30160
to
e7eb812
Compare
The following is the coverage report on the affected files.
|
/lgtm |
This adds a new field in feature-flag
labels-exclusion-pattern
which by default is empty and takes regex pattern as input. If
defined this would filter out labels from propagating from el to
resources created for it such as the deployment.
Closes #1147
Signed-off-by: Shivam Mukhade smukhade@redhat.com
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Release Notes