add egress ips support to anonymizer#446
add egress ips support to anonymizer#446openshift-merge-robot merged 4 commits intoopenshift:masterfrom
Conversation
|
@Sergey1011010: This pull request references Bugzilla bug 1968031, which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/bugzilla refresh |
|
@Sergey1011010: This pull request references Bugzilla bug 1968031, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/retest |
1 similar comment
|
/retest |
pkg/anonymization/anonymizer.go
Outdated
| return nil, err | ||
| } | ||
|
|
||
| for _, hostSubnet := range hostSubnets.Items { |
There was a problem hiding this comment.
I'm pretty sure that the lint will complain about these two for, 'cause it will say that you should use index or pointer.
There was a problem hiding this comment.
|
@Sergey1011010 would it be possible to test it (in our unit tests) please? |
d720f60 to
2aec662
Compare
|
@tremes added the test |
|
/retest |
1 similar comment
|
/retest |
|
/retest |
|
/bugzilla refresh The main branch will open for development of next OCP version. Recalculating validity of PRs linked to this PR. |
|
@openshift-bot: This pull request references Bugzilla bug 1968031, which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
| // NewAnonymizer creates a new instance of anonymizer with a provided config observer and sensitive data | ||
| func NewAnonymizer(clusterBaseDomain string, networks []string, secretsClient corev1client.SecretInterface) (*Anonymizer, error) { | ||
| networks = append(networks, "127.0.0.1/8") | ||
| networks = append(networks, "127.0.0.0/8") |
There was a problem hiding this comment.
Why this change please? It's not clear to me at the first glance. We need to update also in the package doc - https://github.com/openshift/insights-operator/pull/446/files#diff-9180eb430c735bed4f79b7892293543fe58bd8bc57493f4f823ca84faa073f8eR12
There was a problem hiding this comment.
It was a mistake in the original code, not really a problem cuz anonymizations would still work correctly, but /8 means everything after the first byte(127) should be zeros so that it's a valid mask.
|
Reviewed & tested. Please remove BZ Id and I also think it would be nice to backport it to 4.8. Thanks!! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Sergey1011010, tremes The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@Sergey1011010: No Bugzilla bug is referenced in the title of this pull request. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/retest |
Categories
Sample Archive
No changes
Documentation
No changes
Unit Tests
No changes
Privacy
No new data was collected
Breaking Changes
Not really
References
https://issues.redhat.com/browse/CCXDEV-4864
https://bugzilla.redhat.com/show_bug.cgi?id=???
https://access.redhat.com/solutions/???