fix(nextcloud): Add port on non-ingressed installs (#3557)
This commit is contained in:
@@ -37,7 +37,7 @@ sources:
|
||||
- https://github.com/nextcloud/docker
|
||||
- https://github.com/nextcloud/helm
|
||||
type: application
|
||||
version: 15.2.43
|
||||
version: 15.2.44
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- cloud
|
||||
|
||||
@@ -109,7 +109,7 @@ command:
|
||||
{{- end }}
|
||||
|
||||
# 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 }}
|
||||
{{- with (first .Values.ingress.main.hosts) }}
|
||||
{{- $url = ( printf "https://%s/" .host ) }}
|
||||
|
||||
Reference in New Issue
Block a user