Skip to content

Commit

Permalink
add initContainer image to values
Browse files Browse the repository at this point in the history
  • Loading branch information
m-nik committed Dec 17, 2024
1 parent ef3d755 commit 9b0ff44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/chromadb-chart/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
{{- if and (semverCompare ">= 0.4.7" .Values.chromadb.apiVersion) .Values.chromadb.auth.enabled (eq .Values.chromadb.auth.type "basic") }}
initContainers:
- name: generate-htpasswd
image: docker.io/httpd:2
image: {{ .Values.initImage }}
env:
- name: CHROMA_BASIC_USER
valueFrom:
Expand Down
3 changes: 3 additions & 0 deletions charts/chromadb-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ image:
# repository: ghcr.io/amikos-tech/chromadb-chart/chroma
pullPolicy: IfNotPresent

# initContainer image
initImage: docker.io/httpd:2

imagePullSecrets: [ ]
nameOverride: ""
fullnameOverride: ""
Expand Down

0 comments on commit 9b0ff44

Please sign in to comment.