-
Notifications
You must be signed in to change notification settings - Fork 269
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
Manage apps with hooks #466
Comments
This does sound pretty neat and streamlined 👀 I think it's a good idea. How about you friends, @provokateurin @tvories ? :) |
I like the idea as well, I wonder how much work it is to concert the yaml into the php array syntax with nesting etc. (and how easy it could break). |
yeah, that makes sense. I think my main concern is the config section with each app. It may make more sense to start with support for just installing, enabling, and disabling, as config can get hairy, as you mentioned with regards to how nested a config for a given app might be, especially considering some apps will have different methods for config than others 🤔 |
That is an implementation detail, that i like to discuss in my PR later. |
Sounds good, but how would you delete keys that got removed from the config? |
When this PR, nextcloud/docker#2115, get merged, we could use the docker level hooks by mounting configMaps into the |
Agreed, I feel like this is not the job of the chart. If there is a way to do this with the docker image we can and should support that. |
A Preview of my draft: here i start to develop it: https://github.com/wrenix/nextcloud-helm just the logic of the the rest is logic to put that PS: thanks for the hint of the hooks @jessebot. i believe that is my code is just an helm-values to shell mapping, to put that into the image is to trivial, maybe it should be part of the nextcloud-server or just keep it here. If you are not willing to merge such code, please say it now. |
openDesk has created a other solution: For security they build a image with this apps inside: yaml for configuration: |
I think that approach is better, as it is more secure and less likely to fail, especially with upgrades. |
i like to add a easy mechanis to setup and configure appplication.
so i see the following new options in
values.yaml
:Therefore
nextcloud.appManagement.apps
is an dict for easy use multiplevalue.yaml
files and merge themDoes you like to merge such code? Do you like to change something in the outside behaviour ?
ping @jessebot and #272
The text was updated successfully, but these errors were encountered: