nextcloud / helm

A community maintained helm chart for deploying Nextcloud on Kubernetes.
GNU Affero General Public License v3.0
296 stars 258 forks source link

adopt netxcloud.containerport in FPM deployment, allow rootless nginx #440

Closed poggenpower closed 10 months ago

poggenpower commented 10 months ago

Pull Request

Description of the change

is netxcloud.containerport is set, it will also configure the port for nginx. This allows nginx running in a rootless container e.g. by using their official nginxinc/nginx-unprivileged image. pid is written to /tmp for that reason. Some enhanced configs parameter for service.

Benefits

rootless nginx conaiiner.

Possible drawbacks

the nginx port will switch to netxcloud.containerport in FPM installations, but this should be

  1. very rare, because netxcloud.containerport should not be changed
  2. even if changed the service will automatically connect to the changed port.

Applicable issues

N/A

Additional information

Checklist

jessebot commented 10 months ago

@poggenpower sorry, it says there's a conflict even though there's not. Can you fix the conflict? I don't want to update your main branch unless you're ok with that.

poggenpower commented 10 months ago

@jessebot wasn't able to resolve this too, I have created a new PR #444 to workaround.