Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Rookie committed Oct 25, 2024
1 parent ea9745a commit f3e1643
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
2 changes: 1 addition & 1 deletion addons/qdrant/scripts/qdrant-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ start_server() {
exit 1
fi

if [ "$current_pod_fqdn" == "$min_lexicographical_pod_name" ]; then
if [ "$current_pod_fqdn" == "$boostrap_node_fqdn" ]; then
./qdrant --uri "http://${current_pod_fqdn}:6335"
else
until ./tools/curl http://${boostrap_node_fqdn}:6333/cluster; do
Expand Down
5 changes: 1 addition & 4 deletions addons/qdrant/templates/componentdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ spec:
- name: data
needSnapshot: true
vars:
- name: CLUSTER_DOMAIN
value: "{{ .Values.clusterDomain }}"
- name: QDRANT_POD_NAME_LIST
valueFrom:
componentVarRef:
Expand All @@ -58,8 +56,7 @@ spec:
command:
- /bin/sh
- -c
- |
{{- .Files.Get "scripts/qdrant-member-leave.sh" | nindent 12 }}
- /qdrant/scripts/qdrant-member-leave.sh
targetPodSelector: Any
container: qdrant
runtime:
Expand Down
14 changes: 2 additions & 12 deletions addons/qdrant/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.


nameOverride: ""
fullnameOverride: ""


## @param commonLabels Labels to add to all deployed objects
##
commonLabels: {}
fullnameOverride: ""

## @param application images
##
Expand All @@ -22,10 +17,5 @@ image:
repository: apecloud/curl-jq
tag: 0.1.0

## @param debugEnabled enables containers' debug logging
##
debugEnabled: true

## @param data volume mount path
dataMountPath: /qdrant/storage

clusterDomain: ".cluster.local"

0 comments on commit f3e1643

Please sign in to comment.