-
Notifications
You must be signed in to change notification settings - Fork 260
[NPM] NameSpace resource controller changes #839
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #839 +/- ##
==========================================
+ Coverage 41.60% 41.87% +0.26%
==========================================
Files 157 157
Lines 14973 15018 +45
==========================================
+ Hits 6230 6289 +59
+ Misses 7992 7969 -23
- Partials 751 760 +9 |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
matmerr
left a comment
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.
Approved for integration testing with podcontroller pr #836
| PodMap: make(map[string]*NpmPod), | ||
| RawNpMap: make(map[string]*networkingv1.NetworkPolicy), | ||
| ProcessedNpMap: make(map[string]*networkingv1.NetworkPolicy), | ||
| TelemetryEnabled: false, |
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.
For NSController UT, do we need podMap, RawNpMap, ProcessNpMap, and TelemetryEnabled"?
JungukCho
left a comment
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.
Looks good to me.
This changes includes adding workerqueue support for handling NameSpace resource shared informer events