From 0502a6189c7c9ebb1b1ca335c5e265b2e6493bf7 Mon Sep 17 00:00:00 2001 From: "pi-ux-ce@ARES" Date: Wed, 14 Oct 2026 13:20:42 +0100 Subject: [PATCH] old database with old path --- applications/variables.auto.tfvars | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/applications/variables.auto.tfvars b/applications/variables.auto.tfvars index d038ec2..8ab9ee9 100644 --- a/applications/variables.auto.tfvars +++ b/applications/variables.auto.tfvars @@ -584,16 +584,18 @@ kubernetes = { nextcloud = { - enabled = false + #enabled = false namespace = "next" - replicas = 0 - image = "nextcloud:29.0.3-apache" - domain_name = ["nextcloud"] - service_port = [80] + #replicas = 0 + image = "nextcloud:29.0.3-apache" + domain_name = ["nextcloud"] + service_port = [80] secret_ref = ["nextcloud-credentials"] secret_import = ["b207c4b6-0489-4ab2-a032-b4a400a708e0"] database = { - image = "docker.io/library/postgres:14" } + image = "docker.io/library/postgres:14" + mountPath = "/var/lib/postgresql/data" + } redis = { image = "docker.io/library/redis:7" } environment = { @@ -611,21 +613,9 @@ kubernetes = { NEXTCLOUD_TRUSTED_DOMAINS = { value = "nextcloud.geeraert.eu nextcloud.tryton.geeraert.eu 192.168.0.200" } - NEXTCLOUD_ADMIN_USER = { - value = "admin" - } - NEXTCLOUD_ADMIN_PASSWORD = { - value_from = { - secret_key_ref = { - name = "nextcloud-credentials" - key = "PI_USER_PASSWORD" - } - } - } - } pvc = { - nextcloud-webserver-pvc = { + nextcloud-webserver = { name = "nextcloud-webserver" mount_path = "/var/www/html" }