-
Notifications
You must be signed in to change notification settings - Fork 10
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
Modularize the controller and node services #30
Modularize the controller and node services #30
Conversation
2bd8af2
to
c7e5b91
Compare
c7e5b91
to
47269af
Compare
47269af
to
2a6ac81
Compare
func main() { | ||
fs := flag.NewFlagSet("aws-fsx-csi-driver", flag.ExitOnError) | ||
|
||
if err := logsapi.RegisterLogFormat(logsapi.JSONLogFormat, json.Factory{}, logsapi.LoggingBetaOptions); err != nil { |
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.
let's remove this and add make it a separate commit supporting json, like this one: kubernetes-sigs/aws-fsx-csi-driver@e86f25e and also come of the changes in here:
kubernetes-sigs/aws-fsx-csi-driver@770a2c6
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.
done
2a6ac81
to
9ba0a59
Compare
9ba0a59
to
a3bd097
Compare
33427e6
to
cc7f631
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hughdanliu, jacobwolfaws 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 |
Is this a bug fix or adding new feature?
Refactor for future features. Allows us to add flags to the controller/node services and adds support for JSON logging.
What is this PR about? / Why do we need it?
Modularizes the controller and node services. This refactor will allow us to support node start-up taints, driver service deployment options, and makes our implementation consistent with EBS/FSx for Lustre.
Also configures JSON logging and text (default) logging options for the CSI driver.
What testing is done?
Ran unit tests via
make test
and ran sanity tests viamake test-sanity
Performed various rounds of manual testing to ensure functionality was kept intact.