diff --git a/nextcloud-syncthing-argocd-apps/templates/nextcloud-main-chart.yaml b/nextcloud-syncthing-argocd-apps/templates/nextcloud-main-chart.yaml index 8ceb36d..73cc7fa 100644 --- a/nextcloud-syncthing-argocd-apps/templates/nextcloud-main-chart.yaml +++ b/nextcloud-syncthing-argocd-apps/templates/nextcloud-main-chart.yaml @@ -90,6 +90,18 @@ spec: ), 'forwarded_for_headers' => array('HTTP_X_FORWARDED_FOR'), ); + trusted.config.php: | + 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