-
Notifications
You must be signed in to change notification settings - Fork 18
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
add support for multiple cosi drivers in k8s cluster #32
Conversation
63509af
to
e834d70
Compare
e834d70
to
bc1b7fc
Compare
b7b1757
to
5aaf99b
Compare
cmd/ceph-cosi-driver/cmd.go
Outdated
if *driverPrefix == "" { | ||
*driverPrefix = os.Getenv("POD_NAMESPACE") | ||
} |
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 think it might be easier to maintain the driver and Rook integration with it longer-term if we get rid of POD_NAMESPACE checking entirely and make --driver-prefix
a required flag.
I'd prefer to force the small number of current users to change their configuration now, rather than maintaining complex backwards compatibility code here and in Rook forever.
What do you think?
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.
Made requested changes
5aaf99b
to
7f7d911
Compare
add support for multiple cosi drivers in k8s cluster by introducing driver-prefix option. Fixes: ceph#27 Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
7f7d911
to
d0df0dd
Compare
Looks good! Thanks :) |
Fixes: #27