diff --git a/charts/qdrant/templates/statefulset.yaml b/charts/qdrant/templates/statefulset.yaml index 61c5b46..fcfdbfb 100644 --- a/charts/qdrant/templates/statefulset.yaml +++ b/charts/qdrant/templates/statefulset.yaml @@ -37,6 +37,9 @@ spec: {{- if .Values.priorityClassName }} priorityClassName: "{{ .Values.priorityClassName }}" {{- end }} + {{- if .Values.shareProcessNamespace }} + shareProcessNamespace: {{ .Values.shareProcessNamespace }} + {{- end }} initContainers: {{- if .Values.updateVolumeFsOwnership }} {{- if and .Values.containerSecurityContext .Values.containerSecurityContext.runAsUser }} @@ -52,7 +55,7 @@ spec: - {{ .Values.snapshotRestoration.mountPath }} {{- end }} volumeMounts: - - name: {{ .Values.persistence.storageVolumeName | default "qdrant-storage" }} + - name: {{ .Values.persistence.storageVolumeName | default "qdrant-storage" }} mountPath: /qdrant/storage - name: {{ .Values.snapshotPersistence.snapshotsVolumeName | default "qdrant-snapshots" }} mountPath: /qdrant/snapshots @@ -162,7 +165,7 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} volumeMounts: - - name: {{ .Values.persistence.storageVolumeName | default "qdrant-storage" }} + - name: {{ .Values.persistence.storageVolumeName | default "qdrant-storage" }} mountPath: /qdrant/storage - name: qdrant-config mountPath: /qdrant/config/initialize.sh @@ -179,7 +182,7 @@ spec: - name: qdrant-snapshot-restoration mountPath: {{ .Values.snapshotRestoration.mountPath }} {{- end }} - - name: {{ .Values.snapshotPersistence.snapshotsVolumeName | default "qdrant-snapshots" }} + - name: {{ .Values.snapshotPersistence.snapshotsVolumeName | default "qdrant-snapshots" }} mountPath: /qdrant/snapshots - name: qdrant-init mountPath: /qdrant/init @@ -218,7 +221,7 @@ spec: claimName: {{ .Values.snapshotRestoration.pvcName }} {{- end }} {{- if not .Values.snapshotPersistence.enabled }} - - name: {{ .Values.snapshotPersistence.snapshotsVolumeName | default "qdrant-snapshots" }} + - name: {{ .Values.snapshotPersistence.snapshotsVolumeName | default "qdrant-snapshots" }} emptyDir: {} {{- end }} - name: qdrant-init @@ -234,7 +237,7 @@ spec: {{- end}} volumeClaimTemplates: - metadata: - name: {{ .Values.persistence.storageVolumeName | default "qdrant-storage" }} + name: {{ .Values.persistence.storageVolumeName | default "qdrant-storage" }} labels: app: {{ template "qdrant.name" . }} {{- with .Values.persistence.annotations }} @@ -252,7 +255,7 @@ spec: storage: {{ .Values.persistence.size | quote }} {{- if .Values.snapshotPersistence.enabled }} - metadata: - name: {{ .Values.snapshotPersistence.snapshotsVolumeName | default "qdrant-snapshots" }} + name: {{ .Values.snapshotPersistence.snapshotsVolumeName | default "qdrant-snapshots" }} labels: app: {{ template "qdrant.name" . }} {{- with .Values.snapshotPersistence.annotations }} diff --git a/charts/qdrant/values.yaml b/charts/qdrant/values.yaml index c450ab6..a343204 100644 --- a/charts/qdrant/values.yaml +++ b/charts/qdrant/values.yaml @@ -201,6 +201,8 @@ serviceAccount: priorityClassName: "" +shareProcessNamespace: false + # We disourage changing this setting. Using the "OrderedReady" policy in a # multi-node cluster will cause a deadlock where nodes refuse to become # "Ready" until all nodes are running.