Closed mdallaire closed 1 month ago
Ohhh, @mdallaire, that might be a good idea!
@wrenix, you were just working on cleaning up some more nginx stuff in https://github.com/nextcloud/helm/pull/630, so you've had a recent look at the state of things. This sounds like a good idea right? I personally haven't touched ipv6 with nextcloud yet, but this is all fascinating to me regardless :)
@jessebot my PR is not involved in that part of Codes. @mdallaire thanks for creating that PR
Describe your Issue
I am trying to run the chart on a cluster with IPv6 enabled, but the nextcloud pod never completes because of failed startup probe for the nextcloud-nginx container.
The generated default configuration when nginx is enabled only sets the port to 80 which defaults nginx to listen only on IPv4
Logs and Errors
Describe your Environment
Kubernetes distribution: Talos v1.7.6
FluxCD v2.3.0
Helm Chart Version: 6.0.2
values.yaml
:Additional context, if any
I just recently switched my cluster from IPv4 to dual-stack. I have had the same issue with other deployment and usually changing the listen address to [::]:80 when using nginx resolves the issue.
Unfortunately, the way the chart generates the default configuration overrides the
/docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
of the nginx:alpine container.I might submit a PR to the chart to try and fix this by adding a new value, something like
nginx.listenAddress
that could be used incharts/nextcloud/files/nginx.config.tpl
with the containerPort value.