From 1f0acfeed42ebcf5b37885adf374f70cf5d80965 Mon Sep 17 00:00:00 2001 From: pierre Date: Wed, 4 Mar 2026 00:27:17 +0000 Subject: [PATCH] cleanup bookstack --- variables.auto.tfvars | 34 +++++----------------------------- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/variables.auto.tfvars b/variables.auto.tfvars index 7bf3b64..87461b3 100644 --- a/variables.auto.tfvars +++ b/variables.auto.tfvars @@ -3,7 +3,7 @@ kubernetes = { #namespace = "bookstack" #enabled = false replicas = 01 - extra_manifest = ["/opt/kubernetes/Bookstack_kube/Bookstack.configmap.yaml", "/opt/kubernetes/Bookstack_kube/Bookstack.secret.yaml"] +# extra_manifest = ["/opt/kubernetes/Bookstack_kube/Bookstack.configmap.yaml", "/opt/kubernetes/Bookstack_kube/Bookstack.secret.yaml"] #image = "linuxserver/bookstack:24.10.3" image = "linuxserver/bookstack:latest" service_port = [80, 443] @@ -15,8 +15,11 @@ kubernetes = { username = "bookstack_username" name = "bookstackapp" } - # secret_ref = ["bookstack-credentials"] config_map_ref = ["config"] + secret_ref = ["bookstack-credentials"] + config_map_import = ["bb9a8965-994a-4fea-9411-b4020182fa78"] + secret_import = ["d1c2b8c9-71a0-4e47-9d9d-b402018376b6"] + pvc = { bookstack-webserver = { name = "bookstack-webserver" @@ -27,33 +30,6 @@ kubernetes = { } } - bookstesting = { - replicas = 01 - #extra_manifest = ["/opt/kubernetes/Bookstack_kube/Bookstack.configmap.yaml", "/opt/kubernetes/Bookstack_kube/Bookstack.secret.yaml"] - image = "linuxserver/bookstack:latest" - service_port = [80, 443] - database = { - "engine" = "mysql" - "image" = "lscr.io/linuxserver/mariadb" - "port" = 3306 - "mountPath" = "/config" - username = "bookstack_username" - name = "bookstackapp" - } - config_map_ref = ["config"] - secret_ref = ["bookstack-credentials"] - config_map_import = ["bb9a8965-994a-4fea-9411-b4020182fa78"] - secret_import = ["d1c2b8c9-71a0-4e47-9d9d-b402018376b6"] - - pvc = { - bookstesting-webserver = { - name = "bookstack-webserver" - pvc = true - pvc_size = "2Gi" - mount_path = "/config" - } - } - } screeps = {