-
Notifications
You must be signed in to change notification settings - Fork 115
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 ability to specify mount points #1314
Comments
nope, it mustn't. we using defaults.yml with next section:
|
@k4r1 yes, you can skip ui part and use configuration files to make it work as you want. |
Yeah I only showed the UI to demonstrate my point - the docs agree with me as well, as I linked to above. My config is pretty much the same as yours Update: I stand corrected, as an experiment I destroyed and recreated my cluster with the exact config I was using before and it worked first time - thanks @yaroslav-nakonechnikov ! In any case thanks for providing your config but it's kind of a tangent to the request, I'd still like to have the operator support specifying mount points. |
After some manual hacking it turns out this isn't very useful - even if you get the file mounted in the right place ansible chokes on it as it expects everything to be writable. I think this would require some higher level change to how config is rendered, and so closing this issue for now. |
@k4r1 there is also possible to utilize ansible playbook on pre and post boot. |
Wow, that's a powerful workaround! Will see what we can do with that, thanks for the tip |
Please select the type of request
Enhancement
Tell us more
Describe the request
At the moment, we can specify Volumes for each Custom Resource using the volumes property and they will be mounted at
/mnt/<volume-name>
.This is useful - however, it is not possible to override the mount points.
Edit: Removed example, turns out there's a workaround. I still think it's a useful enhancement though so keeping the issue open.
Proposed changes
Add a
volumeMounts
property to each CRD and have the operator use the value to determine the mounts for the stateful set.The text was updated successfully, but these errors were encountered: