Skip to content
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

feat: implementation of csidriver resource unit #18

Merged
merged 3 commits into from
Dec 15, 2021
Merged

feat: implementation of csidriver resource unit #18

merged 3 commits into from
Dec 15, 2021

Conversation

leelavg
Copy link
Contributor

@leelavg leelavg commented Dec 13, 2021

  • implemented create and delete reconcile actions on CSIDriver resource
  • added rbac roles to manager to manager csidriver resource

Signed-off-by: Leela Venkaiah G [email protected]

@leelavg
Copy link
Contributor Author

leelavg commented Dec 13, 2021

Copy link
Contributor

@nbalacha nbalacha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments. Also, please split this into 2 commits - 1 for the code changes and 1 for the manifest changes after regenerating them.

controllers/topolvm_csi_driver.go Outdated Show resolved Hide resolved
controllers/topolvm_csi_driver.go Outdated Show resolved Hide resolved
controllers/topolvm_csi_driver.go Outdated Show resolved Hide resolved
@leelavg
Copy link
Contributor Author

leelavg commented Dec 14, 2021

  • tested against a live cluster by deploying, updating and deleting lvmcluster CR and observing reconciliation of csidriver resource unit
  • reg addition of list & watch verbs, operator-sdk seems to be building up sharedinformercache using client-go's watch&list functions and so added those verbs as well

@nbalacha
Copy link
Contributor

/lgtm

Copy link
Contributor

@nbalacha nbalacha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please refactor the delete test

- implemented resourceManager interface of reconciler for csidriver resource unit

Signed-off-by: Leela Venkaiah G <[email protected]>
- added operator rbac to deploy topolvm csi driver resource

Signed-off-by: Leela Venkaiah G <[email protected]>
Copy link
Contributor

@nbalacha nbalacha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@nbalacha nbalacha merged commit 3de5275 into openshift:main Dec 15, 2021
@leelavg leelavg deleted the csidriver branch December 21, 2021 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants