Skip to content

Commit

Permalink
feat(registry): support s3 as storage backend (#1047)
Browse files Browse the repository at this point in the history
Because

- We would like to support `s3` as registry storage backend

This commit

- add `s3` in registry config
  • Loading branch information
heiruwu authored Jul 25, 2024
1 parent 63d7235 commit c46988e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/core/templates/registry/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
23 changes: 23 additions & 0 deletions charts/core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c46988e

Please sign in to comment.