Skip to content

Commit

Permalink
EGP env variables for vector search
Browse files Browse the repository at this point in the history
  • Loading branch information
polkerty authored Jan 9, 2025
2 parents ba53e7b + 56787f6 commit 48c1995
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ jobs:
secretKey: $(openssl rand -base64 32)
modelBaseUrl: xxx
liteLLMAPIKey: xxx
egpAPIKey: xxx
egpAccountId: xxx
egpKBQueries: xxx
egpKBTables: xxx
env:
REDASH_WEB_WORKERS: 1
postgresql:
Expand Down
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: redash
version: 3.0.7
version: 3.0.8
appVersion: 11.0.0-next
description: Redash is an open source tool built for teams to query, visualize and collaborate.
keywords:
Expand Down
30 changes: 30 additions & 0 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,36 @@ entries:
- charts/postgresql-8.10.14.tgz
version: 8.10.14
redash:
- apiVersion: v1
appVersion: 11.0.0-next
created: "2025-01-09T17:31:09.205Z"
dependencies:
- condition: redis.enabled
name: redis
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: ^10.8.2
- condition: postgresql.enabled
name: postgresql
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
version: ^8.10.14
description: Redash is an open source tool built for teams to query, visualize
and collaborate.
digest: 6a5825bad53e2ddc0e534ba9a114f0bd7a5d008e5e9d7a48de89ef4f3d34a4e8
home: https://redash.io/
icon: https://redash.io/assets/images/elements/redash-logo.svg
keywords:
- redash
- analytics
- vizualisation
maintainers:
- email: jacob.brazeal@scale.com
name: Jacob Brazeal
name: redash
sources:
- https://github.com/getredash/redash
urls:
- release/redash-3.0.8.tgz
version: 3.0.8
- apiVersion: v1
appVersion: 11.0.0-next
created: "2024-12-11T19:11:11.302Z"
Expand Down
Binary file added release/redash-3.0.8.tgz
Binary file not shown.
24 changes: 24 additions & 0 deletions templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,30 @@ Shared environment block used across each component.
name: {{ include "redash.secretName" . }}
key: modelBaseUrl
{{- end }}
- name: REDASH_EGP_API_KEY
valueFrom:
secretKeyRef:
name: {{ include "redash.secretName" . }}
key: egpAPIKey
{{- end }}
- name: REDASH_EGP_ACCOUNT_ID
valueFrom:
secretKeyRef:
name: {{ include "redash.secretName" . }}
key: egpAccountId
{{- end }}
- name: REDASH_EGP_KB_QUERIES
valueFrom:
secretKeyRef:
name: {{ include "redash.secretName" . }}
key: egpKBQueries
{{- end }}
- name: REDASH_EGP_KB_TABLES
valueFrom:
secretKeyRef:
name: {{ include "redash.secretName" . }}
key: egpKBTables
{{- end }}
{{- if .Values.redash.logLevel }}
- name: REDASH_LOG_LEVEL
value: {{ default .Values.redash.logLevel | quote }}
Expand Down
4 changes: 4 additions & 0 deletions templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ data:
cookieSecret: {{ default "" .Values.redash.cookieSecret | b64enc | quote }}
liteLLMAPIKey: {{ default "" .Values.redash.liteLLMAPIKey | b64enc | quote }}
modelBaseUrl: {{ default "" .Values.redash.modelBaseUrl | b64enc | quote }}
egpAPIKey: {{ default "" .Values.redash.egpAPIKey | b64enc | quote }}
egpAccountId: {{ default "" .Values.redash.egpAccountId | b64enc | quote }}
egpKBQueries: {{ default "" .Values.redash.egpKBQueries | b64enc | quote }}
egpKBTables: {{ default "" .Values.redash.egpKBTables | b64enc | quote }}
mailPassword: {{ default "" .Values.redash.mailPassword | b64enc | quote }}
## End primary Redash configuration
{{- end -}}
8 changes: 8 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ redash:
liteLLMAPIKey: ""
# -- REQUIRED `REDASH_MODEL_BASE_URL` value. Custom host for AI integration. Stored as a Secret value.
modelBaseUrl: ""
# -- REQUIRED `REDASH_EGP_API_KEY` value. API for vector search.
egpAPIKey: ""
# -- REQUIRED `REDASH_EGP_ACCOUNT_ID` value. Account ID for vector search.
egpAccountId: ""
# -- REQUIRED `REDASH_EGP_KB_QUERIES` value. Vector search queries.
egpKBQueries: ""
# -- REQUIRED `REDASH_EGP_KB_TABLES` value. Vector search tables.
egpKBTables: ""
# -- `REDASH_SAML_SCHEME_OVERRIDE` value. This setting will allow you to override the saml auth url scheme that gets constructed by flask. this is a useful feature if, for example, you're behind a proxy protocol enabled tcp load balancer (aws elb that terminates ssl) and your nginx proxy or similar adds a x-forwarded-proto of http even though your redash url for saml auth is https..
samlSchemeOverride: ""
# -- `REDASH_PROXIES_COUNT` value.
Expand Down

0 comments on commit 48c1995

Please sign in to comment.