Skip to content

Commit

Permalink
feat: improvments and removal of 0.4.17
Browse files Browse the repository at this point in the history
  • Loading branch information
tazarov committed Aug 22, 2024
1 parent 24127f4 commit 74b1982
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
0.4.7, #auth introduced
0.4.8, #auth introduced
0.4.10, #pre-flight checks introduced
0.4.17, #multi-tenancy introduced
0.4.24,
0.5.0,
0.5.5,
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ jobs:
[
0.4.9,
0.4.10, #pre-flight checks introduced
0.4.17, #multi-tenancy introduced
0.4.24,
0.5.5,
]
Expand Down
4 changes: 4 additions & 0 deletions charts/chromadb-chart/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ data:
password: {{ .Values.chromadb.auth.basic.password | default ( randAlphaNum 16 ) | b64enc | quote }}
{{- end }}
---
{{- if and .Values.chromadb.auth.enabled (eq .Values.chromadb.auth.type "basic") }}
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -50,7 +51,9 @@ data:
CHROMA_SERVER_AUTHN_CREDENTIALS_FILE: "/chroma/auth/server.htpasswd"
CHROMA_SERVER_AUTHN_PROVIDER: "chromadb.auth.basic_authn.BasicAuthenticationServerProvider"
{{- end }}
{{- end }}
---
{{- if and .Values.chromadb.auth.enabled (eq .Values.chromadb.auth.type "token") }}
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -64,4 +67,5 @@ data:
CHROMA_SERVER_AUTHN_PROVIDER: "chromadb.auth.token_authn.TokenAuthenticationServerProvider"
CHROMA_AUTH_TOKEN_TRANSPORT_HEADER: {{ .Values.chromadb.auth.token.headerType }}
{{- end }}
{{- end }}
---
6 changes: 1 addition & 5 deletions charts/chromadb-chart/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
- name: "chromadb"
image: "{{ .Values.image.repository }}:{{ .Values.chromadb.apiVersion | default .Chart.AppVersion }}"
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
{{- if and .Values.chromadb.auth.enabled (eq .Values.chromadb.auth.type "token")}}
{{- if .Values.chromadb.auth.enabled}}
envFrom:
- configMapRef:
{{- if (eq .Values.chromadb.auth.type "token") }}
Expand Down Expand Up @@ -109,10 +109,6 @@ spec:
name: chromadb-auth
key: token
{{- end }}
{{- if and .Values.chromadb.auth.enabled (eq .Values.chromadb.auth.type "basic") }}
- name: CHROMA_SERVER_AUTH_CREDENTIALS_FILE
value: "/chroma/auth/server.htpasswd"
{{- end }}
ports:
- containerPort: {{ .Values.chromadb.serverHttpPort }}
name: http
Expand Down

0 comments on commit 74b1982

Please sign in to comment.