From c77e508e8590190cb04fa23f29fcfff5088317b0 Mon Sep 17 00:00:00 2001 From: Philip Miglinci Date: Wed, 17 Jan 2024 12:01:53 +0100 Subject: [PATCH] feat(nextcloud): support host change Signed-off-by: Philip Miglinci --- .../operator/apps/nextcloud/dependent/NextcloudConfigMap.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/operator/src/main/kotlin/eu/glasskube/operator/apps/nextcloud/dependent/NextcloudConfigMap.kt b/operator/src/main/kotlin/eu/glasskube/operator/apps/nextcloud/dependent/NextcloudConfigMap.kt index dcf1aab4..7718ff70 100644 --- a/operator/src/main/kotlin/eu/glasskube/operator/apps/nextcloud/dependent/NextcloudConfigMap.kt +++ b/operator/src/main/kotlin/eu/glasskube/operator/apps/nextcloud/dependent/NextcloudConfigMap.kt @@ -61,6 +61,10 @@ class NextcloudConfigMap : CRUDKubernetesDependentResource "172.16.0.0/12", "192.168.0.0/16" ), + "trusted_domains" to listOf( + "localhost", + primary.spec.host + ), "log_type" to "errorlog", "log_level" to 2, *primary.spec.apps.oidc?.let {