Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add quivr chart #1282

Merged
merged 5 commits into from
May 15, 2024
Merged
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
23 changes: 23 additions & 0 deletions addons/quivr-chart/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
45 changes: 45 additions & 0 deletions addons/quivr-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
apiVersion: v2
name: quivr-chart
description: A Helm chart for Quivr.

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
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.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.0.0"
dependencies:
- name: web
alias: quivr-backend
version: "0.174.0"
repository: "file://charts/web"
- name: web
alias: quivr-flower
version: "0.174.0"
repository: "file://charts/web"
- name: worker
alias: quivr-worker
version: "0.84.0"
repository: "file://charts/worker"
- name: worker
alias: quivr-beat
version: "0.84.0"
repository: "file://charts/worker"
- name: redis
alias: quivr-redis
version: "19.1.2"
repository: "file://charts/redis"
Binary file added addons/quivr-chart/charts/redis-19.1.2.tgz
Binary file not shown.
Binary file added addons/quivr-chart/charts/web-0.174.0.tgz
Binary file not shown.
Binary file added addons/quivr-chart/charts/worker-0.84.0.tgz
Binary file not shown.
8 changes: 8 additions & 0 deletions addons/quivr-chart/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{{/*
Create a default fully qualified name for Redis.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "quivr.redis.fullname" -}}
{{- $name := "redis" -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
127 changes: 127 additions & 0 deletions addons/quivr-chart/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
quivr-backend:
image:
repository: stangirard/quivr-backend-prebuilt
pullPolicy: Always
tag: latest
resources:
requests:
cpu: 200m
memory: 240Mi
limits:
cpu: 200m
memory: 240Mi
container:
command:
port: 3000
env:
normal:
OPENAI_API_KEY:
SUPABASE_URL:
SUPABASE_SERVICE_KEY:
PG_DATABASE_URL:
JWT_SECRET_KEY:
CELERY_BROKER_URL:
QUIVR_DOMAIN:
ANTHROPIC_API_KEY:
COHERE_API_KEY:
service:
port: 3000
ingress:
enabled: false
hosts: []
porter_hosts: []
provider: aws
annotations: {}
wildcard: false
tls: true
separateTlsPerCustomDomain: true
quivr-flower:
image:
repository: stangirard/quivr-backend-prebuilt
pullPolicy: Always
tag: latest
resources:
requests:
cpu: 200m
memory: 240Mi
limits:
cpu: 200m
memory: 240Mi
container:
command:
port: 3000
env:
normal:
OPENAI_API_KEY:
SUPABASE_URL:
SUPABASE_SERVICE_KEY:
PG_DATABASE_URL:
JWT_SECRET_KEY:
CELERY_BROKER_URL:
QUIVR_DOMAIN:
ANTHROPIC_API_KEY:
COHERE_API_KEY:
service:
port: 3000
ingress:
enabled: false
hosts: []
porter_hosts: []
provider: aws
annotations: {}
wildcard: false
tls: true
separateTlsPerCustomDomain: true
quivr-worker:
image:
repository: stangirard/quivr-backend-prebuilt
pullPolicy: Always
tag: latest
resources:
requests:
cpu: 200m
memory: 240Mi
limits:
cpu: 200m
memory: 240Mi
container:
command:
env:
normal:
OPENAI_API_KEY:
SUPABASE_URL:
SUPABASE_SERVICE_KEY:
PG_DATABASE_URL:
JWT_SECRET_KEY:
CELERY_BROKER_URL:
QUIVR_DOMAIN:
ANTHROPIC_API_KEY:
COHERE_API_KEY:
quivr-beat:
image:
repository: stangirard/quivr-backend-prebuilt
pullPolicy: Always
tag: latest
resources:
requests:
cpu: 200m
memory: 240Mi
limits:
cpu: 200m
memory: 240Mi
container:
command:
env:
normal:
OPENAI_API_KEY:
SUPABASE_URL:
SUPABASE_SERVICE_KEY:
PG_DATABASE_URL:
JWT_SECRET_KEY:
CELERY_BROKER_URL:
QUIVR_DOMAIN:
ANTHROPIC_API_KEY:
COHERE_API_KEY:
quivr-redis:
architecture: standalone

2 changes: 1 addition & 1 deletion addons/tailscale-relay/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tailscale-relay
icon: https://images.crunchbase.com/image/upload/c_lpad,h_170,w_170,f_auto,b_white,q_auto:eco,dpr_1/xkthebhmilwbyffilnfl
version: 0.15.0
appVersion: v1.56.1
appVersion: v1.62.0
keywords:
- APP
- NETWORKING
Expand Down
Loading