prepare paperless but needs cleanup for the secret
This commit is contained in:
@@ -332,27 +332,17 @@ kubernetes = {
|
|||||||
|
|
||||||
|
|
||||||
paperless = {
|
paperless = {
|
||||||
enabled = false ##was
|
enabled = false ##was enabled
|
||||||
#namespace = "paper"
|
replicas = 0
|
||||||
#replicas = 0
|
|
||||||
image = "ghcr.io/paperless-ngx/paperless-ngx:2.18.4"
|
image = "ghcr.io/paperless-ngx/paperless-ngx:2.18.4"
|
||||||
service_port = [8000]
|
service_port = [8000]
|
||||||
domain_name = ["paperless2"]
|
|
||||||
database = {
|
database = {
|
||||||
image = "postgres:15.6"
|
image = "postgres:15.6"
|
||||||
mountPath = "/var/lib/postgresql/data"
|
mountPath = "/var/lib/postgresql/data"
|
||||||
}
|
}
|
||||||
redis = {
|
redis = {
|
||||||
image = "redis:7.4.1" }
|
image = "redis:7.4.1" }
|
||||||
#requirements = {
|
extra_manifest = ["../external_manifests/paperless/Paperless.secret.yaml"]
|
||||||
# limits-cpu = "800m"
|
|
||||||
# limits-memory = "800Mi"
|
|
||||||
# requests-cpu = "10m"
|
|
||||||
# requests-memory = "300Mi"
|
|
||||||
#}
|
|
||||||
extra_manifest = ["/opt/kubernetes/Terraform_kube/external_manifests/paperless/Paperless.secret.yaml"]
|
|
||||||
#config_map_ref = ["config"]
|
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
POSTGRES_DB = {
|
POSTGRES_DB = {
|
||||||
value_from = {
|
value_from = {
|
||||||
@@ -390,8 +380,6 @@ kubernetes = {
|
|||||||
PAPERLESS_TIKA_ENDPOINT = {
|
PAPERLESS_TIKA_ENDPOINT = {
|
||||||
value = "http://tika-svc.paperless.svc:9998"
|
value = "http://tika-svc.paperless.svc:9998"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
PAPERLESS_DBHOST = {
|
PAPERLESS_DBHOST = {
|
||||||
value_from = {
|
value_from = {
|
||||||
secret_key_ref = {
|
secret_key_ref = {
|
||||||
@@ -400,11 +388,9 @@ kubernetes = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PAPERLESS_REDIS = {
|
PAPERLESS_REDIS = {
|
||||||
value = "redis://paperless-redis-svc:6379"
|
value = "redis://paperless-redis-svc:6379"
|
||||||
}
|
}
|
||||||
|
|
||||||
PAPERLESS_ADMIN_USER = {
|
PAPERLESS_ADMIN_USER = {
|
||||||
value_from = {
|
value_from = {
|
||||||
secret_key_ref = {
|
secret_key_ref = {
|
||||||
@@ -421,41 +407,21 @@ kubernetes = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# PAPERLESS_ADMIN_USER = {
|
|
||||||
# value = "admin"
|
|
||||||
# }
|
|
||||||
# PAPERLESS_ADMIN_PASSWORD = {
|
|
||||||
# value = "admin"
|
|
||||||
# }
|
|
||||||
|
|
||||||
PAPERLESS_OCR_USER_ARGS = {
|
PAPERLESS_OCR_USER_ARGS = {
|
||||||
value = "{'invalidate_digital_signatures': true}"
|
value = "{'invalidate_digital_signatures': true}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pvc = {
|
pvc = {
|
||||||
paperless-data = {
|
paperless-data-pvc = {
|
||||||
pvc = true
|
|
||||||
name = "paperless-data"
|
name = "paperless-data"
|
||||||
pvc_size = "2Mi"
|
|
||||||
mount_path = "/usr/src/paperless/data"
|
mount_path = "/usr/src/paperless/data"
|
||||||
}
|
}
|
||||||
paperless-media = {
|
paperless-media-pvc = {
|
||||||
pvc = true
|
|
||||||
name = "paperless-media"
|
name = "paperless-media"
|
||||||
pvc_size = "2Mi"
|
|
||||||
mount_path = "/usr/src/paperless/media"
|
mount_path = "/usr/src/paperless/media"
|
||||||
}
|
}
|
||||||
# export = {
|
consume-pvc = {
|
||||||
# host_path = "/tmp"
|
|
||||||
# name = "export"
|
|
||||||
# pvc_size = "2Mi"
|
|
||||||
# mount_path = "/usr/src/paperless/export"
|
|
||||||
# }
|
|
||||||
consume = {
|
|
||||||
pvc = true
|
|
||||||
name = "consume"
|
name = "consume"
|
||||||
pvc_size = "2Mi"
|
|
||||||
mount_path = "/usr/src/paperless/consume"
|
mount_path = "/usr/src/paperless/consume"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user