-
Notifications
You must be signed in to change notification settings - Fork 43
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: add a csi-snapshotter as a sidecar into topolvm_controller #159
Conversation
controllers/topolvm_controller.go
Outdated
{Name: "socket-dir", MountPath: filepath.Dir(DefaultCSISocket)}, | ||
} | ||
|
||
csiSnapshoter := &corev1.Container{ |
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.
Do we dont have resource limits for this one?
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.
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.
I added very minimal ones, I will change them if required.
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.
LGTM, needs to adjust the commit title and PR title.
done |
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.
forgot to mention this one.
RBAC needs to be adjusted here https://github.com/red-hat-storage/lvm-operator/blob/main/config/rbac/topolvm_controller_role.yaml#L100-L114 same as https://github.com/kubernetes-csi/external-snapshotter/blob/master/deploy/kubernetes/csi-snapshotter/rbac-csi-snapshotter.yaml#L23-L41
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.
Please update config/default/manager_custom_env.yaml.in and the update-mgr-env Makefile target with the new ENV variable.
Signed-off-by: Nitin Goyal <[email protected]>
done |
added |
/test lvm-operator-bundle-e2e-aws |
Signed-off-by: Nitin Goyal <[email protected]>
/hold for testing @Yuggupta27 pls let me know when your image is ready and we will test it out. |
@iamniting Need to run |
Signed-off-by: Nitin Goyal <[email protected]>
done |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: iamniting, leelavg, Madhu-1, nbalacha, sp98 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 |
/hold cancel |
ref: https://kubernetes-csi.github.io/docs/external-snapshotter.html
Signed-off-by: Nitin Goyal [email protected]