Added postinstall for nextcloud

This commit is contained in:
2024-11-12 00:06:12 +00:00
parent f9bc508d58
commit 06857a895c

View File

@@ -90,6 +90,18 @@ spec:
),
'forwarded_for_headers' => array('HTTP_X_FORWARDED_FOR'),
);
trusted.config.php: |
<?php
$CONFIG = array (
'trusted_domains' => array (
0 => 'localhost',
1 => '{{ .Values.nextcloud.url }}',
2 => '10.2.0.0/16', # Adjust this to match your pod CIDR
3 => '127.0.0.1',
4 => 'nextcloud',
5 => 'nextcloud.nextcloud.svc.cluster.local'
),
);
# extraInitContainers - might be useful to make sure the LUKS secret is present
# nginx:
# enabled: true