diff --git a/charts/premium/nextcloud/Chart.yaml b/charts/premium/nextcloud/Chart.yaml index f1a0b5f05f8..682a0368778 100644 --- a/charts/premium/nextcloud/Chart.yaml +++ b/charts/premium/nextcloud/Chart.yaml @@ -49,4 +49,4 @@ sources: - https://hub.docker.com/r/collabora/code - https://hub.docker.com/r/nginxinc/nginx-unprivileged type: application -version: 31.4.13 +version: 31.4.14 diff --git a/charts/premium/nextcloud/ci/basic-values.yaml b/charts/premium/nextcloud/ci/basic-values.yaml index 5acbfd7584a..0c8d042f173 100644 --- a/charts/premium/nextcloud/ci/basic-values.yaml +++ b/charts/premium/nextcloud/ci/basic-values.yaml @@ -11,6 +11,4 @@ ingress: enabled: true hosts: - host: nextcloud.example.com - paths: - - path: / - pathType: Prefix + diff --git a/charts/premium/nextcloud/templates/_ingressInjector.tpl b/charts/premium/nextcloud/templates/_ingressInjector.tpl index f99f5bd5047..7ea19631f94 100644 --- a/charts/premium/nextcloud/templates/_ingressInjector.tpl +++ b/charts/premium/nextcloud/templates/_ingressInjector.tpl @@ -7,7 +7,7 @@ {{/* Append more paths here if needed */}} {{- range $host := .Values.ingress.main.hosts -}} - {{- $paths := $host.paths -}} + {{- $paths := $host.paths | default list -}} {{- $paths = concat $paths $injectPaths -}} {{- $_ := set $host "paths" $paths -}} {{- end -}}