chore(nextcloud): set overwrite.cli.url (#3541)
Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
co-authored by
Kjeld Schouten-Lebbing
parent
987c2834c6
commit
d764319fad
@@ -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.42
|
version: 15.2.43
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- cloud
|
- cloud
|
||||||
|
|||||||
@@ -108,6 +108,15 @@ command:
|
|||||||
{{ if .Values.imaginary.preview_font }}php /var/www/html/occ config:system:set enabledPreviewProviders {{ $c }} --value='OC\Preview\Font'{{ $c = add1 $c }}{{ end }}
|
{{ if .Values.imaginary.preview_font }}php /var/www/html/occ config:system:set enabledPreviewProviders {{ $c }} --value='OC\Preview\Font'{{ $c = add1 $c }}{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
# Set overwrite.cli.uri
|
||||||
|
{{- $url := ( printf "http://%s/" ( .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 ) }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
php /var/www/html/occ config:system:set overwrite.cli.url --value='{{ $url }}'
|
||||||
|
|
||||||
until $(curl --output /dev/null --silent --head --fail -H "Host: test.fakedomain.dns" http://127.0.0.1:7867/push/test/cookie); do
|
until $(curl --output /dev/null --silent --head --fail -H "Host: test.fakedomain.dns" http://127.0.0.1:7867/push/test/cookie); do
|
||||||
echo "High Performance Backend not running ... waiting..."
|
echo "High Performance Backend not running ... waiting..."
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|||||||
Reference in New Issue
Block a user