change the variable type to make it automatic with the image name
This commit is contained in:
+95
-5
@@ -26,11 +26,10 @@ kubernetes = {
|
||||
namespace = "onitama"
|
||||
image = "ghcr.io/jackadamson/onitama:latest"
|
||||
service_port = 8080
|
||||
database = {
|
||||
# username = "username"
|
||||
# database = "database"
|
||||
# password = "password"
|
||||
redis = {
|
||||
image = "hello"
|
||||
}
|
||||
database = {}
|
||||
requirements = {
|
||||
limits-cpu = "50m"
|
||||
limits-memory = "50Mi"
|
||||
@@ -103,11 +102,15 @@ kubernetes = {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
nginx = {
|
||||
enabled = false
|
||||
enabled = true
|
||||
namespace = "testnginx"
|
||||
#image = "localhost:31795/django-python"
|
||||
image = "nginx:latest"
|
||||
database = {
|
||||
# "image" = "mysql:latest"
|
||||
}
|
||||
#pvc_size = "10Mi"
|
||||
# mount_path = "/code"
|
||||
# service_port = 80
|
||||
@@ -310,6 +313,93 @@ kubernetes = {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
paper = {
|
||||
enabled = false
|
||||
namespace = "paper"
|
||||
image = "ghcr.io/paperless-ngx/paperless-ngx:latest"
|
||||
service_port = 8000
|
||||
database = {}
|
||||
requirements = {
|
||||
limits-cpu = "50m"
|
||||
limits-memory = "50Mi"
|
||||
requests-cpu = "25m"
|
||||
requests-memory = "25Mi"
|
||||
}
|
||||
environment = {
|
||||
POSTGRES_DB = {
|
||||
value_from = {
|
||||
secret_key_ref = {
|
||||
name = "mysecret"
|
||||
key = "POSTGRES_DB"
|
||||
}
|
||||
}
|
||||
}
|
||||
POSTGRES_USER = {
|
||||
value_from = {
|
||||
secret_key_ref = {
|
||||
name = "mysecret"
|
||||
key = "POSTGRES_USER"
|
||||
}
|
||||
}
|
||||
}
|
||||
POSTGRES_PASSWORD = {
|
||||
value_from = {
|
||||
secret_key_ref = {
|
||||
name = "mysecret"
|
||||
key = "POSTGRES_PASSWORD"
|
||||
}
|
||||
}
|
||||
}
|
||||
PAPERLESS_URL = {
|
||||
value = "https://paper.tryton.geeraert.eu"
|
||||
}
|
||||
PAPERLESS_DBHOST = {
|
||||
value_from = {
|
||||
secret_key_ref = {
|
||||
name = "mysecret"
|
||||
key = "POSTGRES_DB"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
PAPERLESS_ADMIN_USER = {
|
||||
value = "admin"
|
||||
}
|
||||
PAPERLESS_ADMIN_PASSWORD = {
|
||||
value = "admin"
|
||||
}
|
||||
|
||||
PAPERLESS_OCR_USER_ARGS = {
|
||||
value = "{'invalidate_digital_signatures': true}"
|
||||
}
|
||||
}
|
||||
pvc = {
|
||||
paperless-data = {
|
||||
name = "paperless-data"
|
||||
pvc_size = "2Mi"
|
||||
mount_path = "/usr/src/paperless/data"
|
||||
}
|
||||
media = {
|
||||
name = "media"
|
||||
pvc_size = "2Mi"
|
||||
mount_path = "/usr/src/paperless/media"
|
||||
}
|
||||
export = {
|
||||
name = "export"
|
||||
pvc_size = "2Mi"
|
||||
mount_path = "/usr/src/paperless/export"
|
||||
}
|
||||
consume = {
|
||||
name = "consume"
|
||||
pvc_size = "2Mi"
|
||||
mount_path = "/usr/src/paperless/consume"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user