Skip to content

Commit 61a5c08

Browse files
MrLuMax5Lukas Voß
and
Lukas Voß
authored
SUCI-810: Add S3 bucket to UGC Demo (#15)
* Add S3 bucket to UGC Demo * rename --------- Co-authored-by: Lukas Voß <[email protected]>
1 parent d7c7776 commit 61a5c08

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

charts/sophora-ugc-demo/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: sophora-ugc-demo
33
description: A Helm chart for the UGC demo
44
type: application
55

6-
version: 0.1.2
6+
version: 0.1.3
77

88
appVersion: 'latest'
99

charts/sophora-ugc-demo/templates/deployment.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ spec:
4242
key: {{ .Values.sophora.authentication.secret.passwordKey }}
4343
name: {{ .Values.sophora.authentication.secret.name }}
4444
optional: false
45+
- name: SUBMISSIONS_S3_ACCESSKEYID
46+
valueFrom:
47+
secretKeyRef:
48+
key: {{ .Values.sophora.authentication.s3bucket.accessKeyId }}
49+
name: {{ .Values.sophora.authentication.s3bucket.name }}
50+
optional: false
51+
- name: SUBMISSIONS_S3_SECRETACCESSKEY
52+
valueFrom:
53+
secretKeyRef:
54+
key: {{ .Values.sophora.authentication.s3bucket.secretIdKey }}
55+
name: {{ .Values.sophora.authentication.s3bucket.name }}
56+
optional: false
4557
command: [ "/bin/sh" ]
4658
args:
4759
- "-c"

charts/sophora-ugc-demo/values.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ sophora:
4040
name: secret-name
4141
usernameKey: username
4242
passwordKey: password
43+
s3bucket:
44+
name: s3bucket-secret
45+
accessKeyId: s3bucket-access-key
46+
secretIdKey: s3bucket-secret-id
4347

4448
# Additional environment variables can be defined here
4549
env:

0 commit comments

Comments
 (0)