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/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
|
||||||
|
|||||||
@@ -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 ) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user