File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,19 @@ data:
3535 CSGHUB_PORTAL_DATABASE_DSN : {{ include "csghub.postgresql.url" (dict "service" .Values.csghub.portal "global" .) | quote }}
3636 # ObjectStorage
3737 CSGHUB_PORTAL_S3_ENDPOINT : {{ include "minio.external.endpoint" . | trimPrefix "http://" | trimPrefix "https://" }}
38+ CSGHUB_PORTAL_PRIVATE_S3_ENDPOINT : {{ .Values.csghub.portal.additionalObjectStore.endpoint | default (include "minio.external.endpoint" . | trimPrefix "http://" | trimPrefix "https://") }}
3839 {{- if not .Values.global.objectStore.enabled }}
3940 CSGHUB_PORTAL_S3_ACCESS_KEY_ID : {{ $objectStoreConfig.accessKey }}
4041 CSGHUB_PORTAL_S3_ACCESS_KEY_SECRET : {{ $objectStoreConfig.secretKey }}
42+ CSGHUB_PORTAL_PRIVATE_S3_ACCESS_KEY_ID : {{ .Values.csghub.portal.additionalObjectStore.accessKey | default $objectStoreConfig.accessKey }}
43+ CSGHUB_PORTAL_PRIVATE_S3_ACCESS_KEY_SECRET : {{ .Values.csghub.portal.additionalObjectStore.secretKey | default $objectStoreConfig.secretKey }}
4144 {{- end }}
4245 CSGHUB_PORTAL_S3_BUCKET : {{ $objectStoreConfig.bucket }}
4346 CSGHUB_PORTAL_S3_REGION : {{ $objectStoreConfig.region }}
4447 CSGHUB_PORTAL_S3_ENABLE_SSL : {{ $objectStoreConfig.secure | quote }}
48+ CSGHUB_PORTAL_PRIVATE_S3_BUCKET : {{ .Values.csghub.portal.additionalObjectStore.bucket | default $objectStoreConfig.bucket }}
49+ CSGHUB_PORTAL_PRIVATE_S3_REGION : {{ .Values.csghub.portal.additionalObjectStore.region | default $objectStoreConfig.region }}
50+ CSGHUB_PORTAL_PRIVATE_S3_ENABLE_SSL : {{ .Values.csghub.portal.additionalObjectStore.secure | default $objectStoreConfig.secure | quote }}
4551 # SMTP
4652 CSGHUB_PORTAL_MAILER_HOST : {{ .Values.csghub.portal.smtp.host }}
4753 CSGHUB_PORTAL_MAILER_PORT : {{ .Values.csghub.portal.smtp.port | quote }}
Original file line number Diff line number Diff line change 8282 value : " $(MINIO_ROOT_USER)"
8383 - name : CSGHUB_PORTAL_S3_ACCESS_KEY_SECRET
8484 value : " $(MINIO_ROOT_PASSWORD)"
85+ - name : CSGHUB_PORTAL_PRIVATE_S3_ACCESS_KEY_ID
86+ value : {{ .Values.csghub.portal.additionalObjectStore.accessKey | default "$(MINIO_ROOT_USER)" | quote }}
87+ - name : CSGHUB_PORTAL_PRIVATE_S3_ACCESS_KEY_SECRET
88+ value : {{ .Values.csghub.portal.additionalObjectStore.secretKey | default "$(MINIO_ROOT_PASSWORD)" | quote }}
8589 {{- end }}
8690 {{- with .Values.csghub.portal.environments }}
8791 {{- range $key, $value := . }}
Original file line number Diff line number Diff line change @@ -319,6 +319,10 @@ csghub:
319319 # secure: "true"
320320 pathStyle : " true"
321321
322+ # # Additional object storage configuration, user storage authentication data
323+ additionalObjectStore :
324+ bucket : " csghub-portal"
325+
322326 # # SMTP configuration
323327 smtp :
324328 host : " "
You can’t perform that action at this time.
0 commit comments