From c629d0d2960e1ffea8e934929634f6e6a13fa37d Mon Sep 17 00:00:00 2001 From: auricom <27022259+auricom@users.noreply.github.com> Date: Wed, 29 Jun 2022 17:45:30 +0200 Subject: [PATCH] feat: change sharry backend to s3 --- cluster/apps/data/sharry/helm-release.yaml | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/cluster/apps/data/sharry/helm-release.yaml b/cluster/apps/data/sharry/helm-release.yaml index c7befb15d..b648b5c49 100644 --- a/cluster/apps/data/sharry/helm-release.yaml +++ b/cluster/apps/data/sharry/helm-release.yaml @@ -45,6 +45,40 @@ spec: password = "${SECRET_SHARRY_DB_PASSWORD}" } + # How files are stored. + files { + # The id of an enabled store from the `stores` array that should + # be used. + default-store = "minio" + + # A list of possible file stores. Each entry must have a unique + # id. The `type` is one of: default-database, filesystem, s3. + # + # All stores with enabled=false are + # removed from the list. The `default-store` must be enabled. + stores = { + database = + { enabled = true + type = "default-database" + } + + filesystem = + { enabled = false + type = "file-system" + directory = "/some/directory" + } + + minio = + { enabled = false + type = "s3" + endpoint = "${SECRET_MINIO_ENDPOINT}" + access-key = "${SECRET_MINIO_ACCESS_KEY}" + secret-key = "${SECRET_MINIO_SECRET_KEY}" + bucket = "sharry" + } + } + ... + } webapp { # This is shown in the top right corner of the web application app-name = "Sharry"