Skip to content

Commit

Permalink
fix: remove duplicate replicas in statefulset
Browse files Browse the repository at this point in the history
  • Loading branch information
donbowman authored and tazarov committed Jan 19, 2025
1 parent fc76e0c commit 7141f11
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions charts/chromadb-chart/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 7141f11

Please sign in to comment.