shamefully used AI and now it's working

This commit is contained in:
2024-12-16 17:08:33 +00:00
parent c107eb2fcf
commit 776d96c167
2 changed files with 31 additions and 44 deletions
+12 -9
View File
@@ -1,12 +1,14 @@
kubernetes = {
bookstack = {
namespace = "bookstack-terraform"
enabled = true
image = "lscr.io/linuxserver/bookstack"
enabled = false
replicas = 01
image = "linuxserver/bookstack:24.10.3"
service_port = 80
database = {
"image" = "lscr.io/linuxserver/mariadb"
"port" = 3306
"image" = "lscr.io/linuxserver/mariadb"
"port" = 3306
"mountPath" = "/config"
}
requirements = {
limits-cpu = "500m"
@@ -44,7 +46,7 @@ kubernetes = {
value_from = {
secret_key_ref = {
name = "bookstack-credentials"
key = "DB_USER"
key = "DB_USERNAME"
}
}
}
@@ -92,10 +94,11 @@ kubernetes = {
}
onitama = {
enabled = true
namespace = "onitama"
image = "ghcr.io/jackadamson/onitama:latest"
service_port = 8080
enabled = true
namespace = "onitama"
image = "ghcr.io/jackadamson/onitama:latest"
extra_manifest = ["nextcloud.secret.yaml","/opt/kubernetes/Terraform_kube/onitama_secret2.yaml"]
service_port = 8080
requirements = {
limits-cpu = "50m"
limits-memory = "50Mi"