From 06857a895c6fe47a4a40fd4a0f9d5dea8686323e Mon Sep 17 00:00:00 2001 From: Thomas Blarre Date: Tue, 12 Nov 2024 00:06:12 +0000 Subject: [PATCH] Added postinstall for nextcloud --- .../templates/nextcloud-main-chart.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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