File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 value: " postgres://$(DRYCC_PG_USER):$(DRYCC_PG_PASSWORD)@drycc-database:5432/quickwit"
3535{{- end }}
3636{{- if (.Values.storageEndpoint ) }}
37- - name: " DRYCC_STORAGE_LOOKUP"
38- valueFrom:
39- secretKeyRef:
40- name: quickwit-creds
41- key: storage-lookup
4237- name: " DRYCC_STORAGE_BUCKET"
4338 valueFrom:
4439 secretKeyRef:
5954 secretKeyRef:
6055 name: quickwit-creds
6156 key: storage-secretkey
57+ - name: " DRYCC_STORAGE_PATH_STYLE"
58+ valueFrom:
59+ secretKeyRef:
60+ name: quickwit-creds
61+ key: storage-path-style
6262{{- else if .Values.storage.enabled }}
63- - name: " DRYCC_STORAGE_LOOKUP"
64- value: " path"
6563- name: " DRYCC_STORAGE_BUCKET"
6664 value: " quickwit"
6765- name: " DRYCC_STORAGE_ENDPOINT"
7674 secretKeyRef:
7775 name: storage-creds
7876 key: secretkey
77+ - name: " DRYCC_STORAGE_PATH_STYLE"
78+ value: " on"
7979{{- end }}
8080- name: QW_CLUSTER_ID
8181 value: drycc-quickwit
Original file line number Diff line number Diff line change 1010 database-url : {{ .Values.databaseUrl | b64enc }}
1111 {{- end }}
1212 {{- if (.Values.storageEndpoint) }}
13- storage-lookup : {{ .Values.storageLookup | b64enc }}
1413 storage-bucket : {{ .Values.storageBucket | b64enc }}
1514 storage-endpoint : {{ .Values.storageEndpoint | b64enc }}
1615 storage-accesskey : {{ .Values.storageAccesskey | b64enc }}
1716 storage-secretkey : {{ .Values.storageSecretkey | b64enc }}
17+ storage-path-style : {{ .Values.storagePathStyle | b64enc }}
1818 {{- end }}
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ logIndexTemplateName: "logs"
2626# databaseUrl are will no longer use the built-in database component
2727databaseUrl : " "
2828# The following parameters will no longer use the built-in storage component.
29- storageLookup : " "
3029storageBucket : " "
3130storageEndpoint : " "
3231storageAccesskey : " "
3332storageSecretkey : " "
33+ storagePathStyle : " auto"
3434
3535control_plane :
3636 nodeAffinityPreset :
Original file line number Diff line number Diff line change @@ -7,17 +7,17 @@ alias mc="init-stack mc"
77alias jq=" init-stack jq"
88alias quickwit=" init-stack quickwit"
99
10- mc config host add storage \
10+ mc alias set storage \
1111 " ${DRYCC_STORAGE_ENDPOINT} " \
1212 " ${DRYCC_STORAGE_ACCESSKEY} " \
1313 " ${DRYCC_STORAGE_SECRETKEY} " \
14- --lookup " ${DRYCC_STORAGE_LOOKUP} " \
15- --api s3v4
14+ --path " ${DRYCC_STORAGE_PATH_STYLE} "
15+
1616mc ping storage -x
1717mc mb --ignore-existing storage/" ${DRYCC_STORAGE_BUCKET} "
1818
1919AWS_REGION=${DRYCC_STORAGE_ENDPOINT%% .* }
20- if [ " $DRYCC_STORAGE_LOOKUP " = " path " ]; then
20+ if [ " $DRYCC_STORAGE_PATH_STYLE " = " on " ]; then
2121 QW_S3_FORCE_PATH_STYLE_ACCESS=" true"
2222fi
2323export AWS_REGION QW_S3_FORCE_PATH_STYLE_ACCESS
You can’t perform that action at this time.
0 commit comments