Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ir-engine-builder/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.1.4
version: 1.1.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
2 changes: 1 addition & 1 deletion ir-engine-kaniko/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.0.4
version: 1.0.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
25 changes: 24 additions & 1 deletion ir-engine/templates/api-server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,32 @@ spec:
value: "api"
- name: KUBERNETES
value: "true"
{{- if (.Values.vectordb).enabled }}
{{- if and .Values.vectordb (.Values.vectordb).enabled }}
- name: VECTORDB_ENABLED
value: "true"
- name: POSTGRES_USER
value: {{ .Values.vectordb.user }}
- name: POSTGRES_DATABASE
value: {{ .Values.vectordb.database }}
- name: POSTGRES_PASSWORD
value: {{ .Values.vectordb.password | quote }}
- name: POSTGRES_HOST
value: {{ .Values.vectordb.host | quote }}
- name: POSTGRES_PORT
value: {{ .Values.vectordb.port | quote }}
{{- else if and (eq .Values.cloudProvider "gcp") (.Values.vectordb) (.Values.vectordb).enabled }}
- name: VECTORDB_ENABLED
value: "true"
- name: POSTGRES_USER
value: "ir-engine-sa@{{ .Values.googleProjectID }}.iam"
- name: POSTGRES_DATABASE
value: "{{ .Release.Namespace }}-vector-db"
- name: POSTGRES_PASSWORD
value: ""
- name: POSTGRES_HOST
value: "127.0.0.1"
- name: POSTGRES_PORT
value: "5432"
{{- end }}
{{ if .Values.client.serveFromApi }}
- name: SERVE_CLIENT_FROM_API
Expand Down
3 changes: 3 additions & 0 deletions ir-engine/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -359,3 +359,6 @@ batchinvalidator:
create: true
annotations: {}
name:

vectordb:
enabled: false