From fb80efdac1ec798ab70b56841ea32a4783cecf29 Mon Sep 17 00:00:00 2001 From: Heiru Wu Date: Thu, 25 Jul 2024 17:45:20 +0800 Subject: [PATCH] feat(registry): support s3 as storage backend --- charts/core/templates/registry/configmap.yaml | 3 +++ charts/core/values.yaml | 23 +++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/charts/core/templates/registry/configmap.yaml b/charts/core/templates/registry/configmap.yaml index 9b328e0b..7e737d6a 100644 --- a/charts/core/templates/registry/configmap.yaml +++ b/charts/core/templates/registry/configmap.yaml @@ -15,6 +15,9 @@ data: {{- if eq .Values.registry.config.storage.type "gcs" }} gcs: {{- toYaml .Values.registry.config.storage.gcs | nindent 8 }} + {{- else if eq .Values.registry.config.storage.type "s3" }} + s3: + {{- toYaml .Values.registry.config.storage.s3 | nindent 8 }} {{- else }} filesystem: {{- toYaml .Values.registry.config.storage.filesystem | nindent 8 }} diff --git a/charts/core/values.yaml b/charts/core/values.yaml index 57adf789..86a1091e 100644 --- a/charts/core/values.yaml +++ b/charts/core/values.yaml @@ -1445,6 +1445,29 @@ registry: client_x509_cert_url: rootdirectory: chunksize: + s3: + accesskey: + secretkey: + region: + regionendpoint: + forcepathstyle: + accelerate: + bucket: + encrypt: + keyid: + secure: + skipverify: + v4auth: + chunksize: + storageclass: + multipartcopychunksize: + multipartcopymaxconcurrency: + multipartcopythresholdsize: + rootdirectory: + usedualstack: + useragent: + objectacl: + loglevel: debug delete: enabled: true redirect: