Skip to content

Commit

Permalink
Merge pull request #61 from quickwit-oss/fmassot/fix-storage-and-upda…
Browse files Browse the repository at this point in the history
…te-for-0.7

fix storage and update for 0.7
  • Loading branch information
fmassot authored Jan 5, 2024
2 parents 307e9eb + cc39deb commit 380bd68
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions charts/quickwit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: quickwit
description: Sub-second search & analytics engine on cloud storage.
type: application
version: 0.5.2
appVersion: "v0.6.4"
version: 0.5.3
appVersion: "v0.7.0"
keywords:
- quickwit
- search
Expand Down
15 changes: 10 additions & 5 deletions charts/quickwit/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- include "quickwit.labels" . | nindent 4 }}
data:
node.yaml: |-
version: 0.6
version: 0.7
listen_address: 0.0.0.0
gossip_listen_port: 7282
data_dir: /quickwit/qwdata
Expand All @@ -19,13 +19,13 @@ data:
{{- $new_storage := . | deepCopy }}
{{- /* s3 access_key_id and secret_access_key are already set by env variables */}}
{{ if .s3 }}
{{- $_ := unset $new_storage.s3 "access_key_id" }}
{{- $_ := unset $new_storage.s3 "secret_access_key" }}
{{- $_ := 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 }}
{{- $_ := unset $new_storage.azure "account" }}
{{- $_ := unset $new_storage.azure "access_key" }}
{{- $_ := 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 }}
Expand All @@ -42,3 +42,8 @@ data:
jaeger:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- if (.Values.config.postgres).max_num_connections }}
metastore:
postgres:
max_num_connections: {{ .Values.config.postgres.max_num_connections }}
{{- end }}
3 changes: 2 additions & 1 deletion charts/quickwit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ image:
repository: quickwit/quickwit
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
# tag: v0.6.1
# tag: v0.7.0

imagePullSecrets: []
nameOverride: ""
Expand Down Expand Up @@ -312,6 +312,7 @@ config:
# database: metastore
# username: quickwit
# password: ""
# max_num_connections: 50

s3: {}
# endpoint: "https://s3.eu-west-1.amazonaws.com"
Expand Down

0 comments on commit 380bd68

Please sign in to comment.