fix(nextcloud): Add port on non-ingressed installs (#3557)

This commit is contained in:
Stavros Kois
2022-08-24 18:07:25 +02:00
committed by GitHub
parent 2212e84646
commit 9905c614e5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ sources:
- https://github.com/nextcloud/docker - https://github.com/nextcloud/docker
- https://github.com/nextcloud/helm - https://github.com/nextcloud/helm
type: application type: application
version: 15.2.43 version: 15.2.44
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- cloud - cloud
+1 -1
View File
@@ -109,7 +109,7 @@ command:
{{- end }} {{- end }}
# Set overwrite.cli.uri # Set overwrite.cli.uri
{{- $url := ( printf "http://%s/" ( .Values.env.AccessIP | default ( printf "%v-%v" .Release.Name "nextcloud" ) ) ) }} {{- $url := ( printf "http://%s:{{ .Values.service.main.ports.main.port }}/" ( .Values.env.AccessIP | default ( printf "%v-%v" .Release.Name "nextcloud" ) ) ) }}
{{- if .Values.ingress.main.enabled }} {{- if .Values.ingress.main.enabled }}
{{- with (first .Values.ingress.main.hosts) }} {{- with (first .Values.ingress.main.hosts) }}
{{- $url = ( printf "https://%s/" .host ) }} {{- $url = ( printf "https://%s/" .host ) }}