From 144010c8ede322872508918f2a470360703bf7f7 Mon Sep 17 00:00:00 2001 From: Don Bowman Date: Sat, 18 Jan 2025 17:59:40 -0500 Subject: [PATCH] fix: remove duplicate replicas in statefulset --- charts/chromadb-chart/templates/statefulset.yaml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/charts/chromadb-chart/templates/statefulset.yaml b/charts/chromadb-chart/templates/statefulset.yaml index c51c42c..41c30fd 100644 --- a/charts/chromadb-chart/templates/statefulset.yaml +++ b/charts/chromadb-chart/templates/statefulset.yaml @@ -9,7 +9,6 @@ spec: serviceName: "{{ include "chart.fullname" . }}" podManagementPolicy: "Parallel" # This setting means that the StatefulSet controller doesn't block applying changes until the existing Pod is READY. replicas: {{ .Values.replicaCount }} - replicas: {{ .Values.replicaCount }} selector: matchLabels: {{- include "chart.selectorLabels" . | nindent 6 }} @@ -58,10 +57,6 @@ spec: - mountPath: /chroma/auth/ name: htpasswd-volume {{- end }} - tolerations: - {{- toYaml .Values.tolerations | nindent 8 }} - affinity: - {{- toYaml .Values.affinity | nindent 8 }} tolerations: {{- toYaml .Values.tolerations | nindent 8 }} affinity: @@ -80,16 +75,6 @@ spec: name: {{ include "chart.fullname" . }}-basic-auth-config {{- end }} {{- end }} - {{- if .Values.chromadb.auth.enabled}} - envFrom: - - configMapRef: - {{- if (eq .Values.chromadb.auth.type "token") }} - name: {{ include "chart.fullname" . }}-token-auth-config - {{- end }} - {{- if (eq .Values.chromadb.auth.type "basic") }} - name: {{ include "chart.fullname" . }}-basic-auth-config - {{- end }} - {{- end }} env: - name: POD_NAME valueFrom: