Skip to content

Commit

Permalink
Merge pull request #19 from cuttingedge1109/upstream/patch1
Browse files Browse the repository at this point in the history
Use secret instead of configmap for s3 credential
thanks for your contribution.
  • Loading branch information
freegroup authored Jun 8, 2022
2 parents 1f5d8f4 + f7e7365 commit a3843cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion yaml/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- SYS_ADMIN
# use ALL entries in the config map as environment variables
envFrom:
- configMapRef:
- secretRef:
name: s3-config
volumeMounts:
- name: devfuse
Expand Down
4 changes: 2 additions & 2 deletions yaml/configmap_secrets_template.yaml → yaml/secret.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
kind: ConfigMap
kind: Secret
metadata:
name: s3-config
data:
stringData:
S3_BUCKET: <YOUR-S3-BUCKET-NAME>
AWS_KEY: <YOUR-AWS-TECH-USER-ACCESS-KEY>
AWS_SECRET_KEY: <YOUR-AWS-TECH-USER-SECRET>

0 comments on commit a3843cd

Please sign in to comment.