From be458f36d5f1900a7d98a96136ac636bdca38698 Mon Sep 17 00:00:00 2001 From: nold Date: Wed, 28 Feb 2024 18:17:11 +0100 Subject: [PATCH] feat(browserless|bigagi) --- projects/ai/project.yaml | 11 +++++++ projects/ai/values/big-agi.yml | 47 ++++++++++++++++++++++++++++++ projects/ai/values/browserless.yml | 21 +++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 projects/ai/values/big-agi.yml create mode 100644 projects/ai/values/browserless.yml diff --git a/projects/ai/project.yaml b/projects/ai/project.yaml index b4398357..2bcaf64c 100644 --- a/projects/ai/project.yaml +++ b/projects/ai/project.yaml @@ -19,3 +19,14 @@ apps: repo: bjw-s chart: app-template targetRevision: 2.4.0 + +- name: big-agi + repo: bjw-s + chart: app-template + targetRevision: 2.4.0 + +- name: browserless + namespace: browserless + repo: bjw-s + chart: app-template + targetRevision: 2.4.0 diff --git a/projects/ai/values/big-agi.yml b/projects/ai/values/big-agi.yml new file mode 100644 index 00000000..57780327 --- /dev/null +++ b/projects/ai/values/big-agi.yml @@ -0,0 +1,47 @@ +controllers: + main: + containers: + main: + image: + repository: ghcr.io/enricoros/big-agi + tag: latest + pullPolicy: Always + command: [ "next", "start", "-p", "3001" ] + env: + PUPPETEER_WSS_ENDPOINT: ws://browserless.browserless.svc.cluster.local:3000 + +ingress: + main: + annotations: + cert-manager.io/cluster-issuer: vault-issuer + enabled: true + hosts: + - host: bigagi.dc + paths: + - path: / + service: + name: main + port: http + tls: + - hosts: + - bigagi.dc + secretName: bigagi-tls + +persistence: + data: + accessMode: ReadWriteOnce + enabled: false + readOnly: false + size: 10Gi + type: persistentVolumeClaim + +securityContext: + privileged: false + +service: + main: + ports: + http: + enabled: true + port: 3001 + type: ClusterIP diff --git a/projects/ai/values/browserless.yml b/projects/ai/values/browserless.yml new file mode 100644 index 00000000..e6935dc4 --- /dev/null +++ b/projects/ai/values/browserless.yml @@ -0,0 +1,21 @@ +controllers: + main: + containers: + main: + image: + repository: browserless/chrome + tag: latest + pullPolicy: Always + env: + MAX_CONCURRENT_SESSIONS: 10 + +securityContext: + privileged: false + +service: + main: + ports: + http: + enabled: true + port: 3000 + type: ClusterIP