-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support Pause/Unpause MCP in Openshift #61
base: main
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 12811084017Details
💛 - Coveralls |
code is complete, i need to test on ocp setup. LMK if you prefer i split to multiple commits |
Implement MCPManager which pauses/unpauses MCP in openshift environments. - Add Openshift detection logic - Implement MCPManager - Integrate MCPManager in nodemaintenance controller Signed-off-by: adrianc <adrianc@nvidia.com>
8def208
to
a6e78a6
Compare
reqLog.Info("Handle Scheduled NodeMaintenance") | ||
var err error | ||
var res ctrl.Result |
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.
Why do we need the res
? It always the same, no?
@@ -147,12 +152,24 @@ func main() { | |||
ctx := ctrl.SetupSignalHandler() | |||
mgrClient := mgr.GetClient() | |||
|
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.
Why is mgr.GetAPIReader()
needed? mgrClient
is not enough?
Implement MCPManager which pauses/unpauses MCP
in openshift environments.