Skip to content

Commit

Permalink
enable auth s3
Browse files Browse the repository at this point in the history
  • Loading branch information
armandleopold committed Nov 11, 2024
1 parent c7de0e8 commit 4a543bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/qalita/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Helm chart for QALITA Platform, a platform for managing and monitoring your data quality.
name: "qalita"
version: "1.8.3"
version: "1.8.4"
icon: https://avatars.githubusercontent.com/u/101010687?s=48&v=4
appVersion: "1.8.0"
home: https://qalita.io
Expand Down
5 changes: 3 additions & 2 deletions charts/qalita/templates/s3-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
apiVersion: v1
kind: Secret
metadata:
name: "s3-secret"
data:
name: seaweedfs-s3-secret
stringData:
admin_access_key_id: {{ .Values.backend.s3.admin_access_key_id | b64enc }}
admin_secret_access_key: {{ .Values.backend.s3.admin_secret_access_key | b64enc }}
read_access_key_id: {{ .Values.backend.s3.read_access_key_id | b64enc }}
read_secret_access_key: {{ .Values.backend.s3.read_secret_access_key | b64enc }}
seaweedfs_s3_config: '{"identities":[{"name":"anvAdmin","credentials":[{"accessKey":"{{ .Values.backend.s3.admin_secret_access_key }}","secretKey":"{{ .Values.backend.s3.admin_secret_access_key }}"}],"actions":["Admin","Read","Write"]},{"name":"anvReadOnly","credentials":[{"accessKey":"{{ .Values.backend.s3.read_access_key_id }}","secretKey":"{{ .Values.backend.s3.read_secret_access_key }}"}],"actions":["Read"]}]}'
{{- end }}
4 changes: 3 additions & 1 deletion charts/qalita/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ seaweedfs:

s3:
enabled: true

enableAuth: true
existingConfigSecret: "seaweedfs-s3-secret"

global:
createClusterRole: true
serviceAccountName: "seaweedfs"
Expand Down

0 comments on commit 4a543bd

Please sign in to comment.