Skip to content

Commit

Permalink
Merge pull request #72 from ba1ajinaidu/s3_config
Browse files Browse the repository at this point in the history
modify storage config in configmap
  • Loading branch information
fmassot authored Mar 13, 2024
2 parents 291bb22 + 3fc04ef commit 0cc0f6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion charts/quickwit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: quickwit
description: Sub-second search & analytics engine on cloud storage.
type: application
version: 0.5.7
version: 0.5.8
appVersion: "v0.7.1"
keywords:
- quickwit
Expand Down
13 changes: 1 addition & 12 deletions charts/quickwit/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,8 @@ data:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.config.storage }}
{{- $new_storage := . | deepCopy }}
{{- /* s3 access_key_id and secret_access_key are already set by env variables */}}
{{ if .s3 }}
{{- $_ := set $new_storage.s3 "access_key_id" "${AWS_ACCESS_KEY_ID}" }}
{{- $_ := set $new_storage.s3 "secret_access_key" "${AWS_SECRET_ACCESS_KEY}" }}
{{- end }}
{{- /* azure account and access_key are already set by env variables */}}
{{ if .azure }}
{{- $_ := set $new_storage.azure "account" "${QW_AZURE_STORAGE_ACCOUNT}" }}
{{- $_ := set $new_storage.azure "access_key" "${QW_AZURE_STORAGE_ACCESS_KEY}" }}
{{- end }}
storage:
{{- toYaml $new_storage | nindent 6 }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.config.ingest_api }}
ingest_api:
Expand Down

0 comments on commit 0cc0f6b

Please sign in to comment.