diff --git a/charts/incubator/anything-llm/.helmignore b/charts/incubator/anything-llm/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/anything-llm/.helmignore @@ -0,0 +1,30 @@ +# 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 +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl +# docs folder +/docs +# icon +icon.png diff --git a/charts/incubator/anything-llm/CHANGELOG.md b/charts/incubator/anything-llm/CHANGELOG.md new file mode 100644 index 00000000000..6afbcc5f802 --- /dev/null +++ b/charts/incubator/anything-llm/CHANGELOG.md @@ -0,0 +1,3 @@ +--- +title: Changelog +--- diff --git a/charts/incubator/anything-llm/Chart.yaml b/charts/incubator/anything-llm/Chart.yaml new file mode 100644 index 00000000000..cc50f18adf7 --- /dev/null +++ b/charts/incubator/anything-llm/Chart.yaml @@ -0,0 +1,37 @@ +annotations: + max_scale_version: 23.10.2 + min_scale_version: 23.10.0 + truecharts.org/SCALE-support: "true" + truecharts.org/category: AI + truecharts.org/max_helm_version: "3.14" + truecharts.org/min_helm_version: "3.12" + truecharts.org/train: incubator +apiVersion: v2 +appVersion: latest +dependencies: + - name: common + version: 17.2.26 + repository: oci://tccr.io/truecharts + condition: "" + alias: "" + tags: [] + import-values: [] +deprecated: false +description: Open-source ChatGPT experience for LLMs, embedders, and vector databases. +home: https://truecharts.org/charts/incubator/anything-llm +icon: https://truecharts.org/img/hotlink-ok/chart-icons/anything-llm.png +keywords: + - anything-llm + - ai +kubeVersion: '>=1.24.0-0' +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org +name: anything-llm +sources: + - https://github.com/Mintplex-Labs/anything-llm + - https://github.com/truecharts/charts/tree/master/charts/incubator/anything-llm + - https://ghcr.io/mintplex-labs/anything-llm +type: application +version: 0.0.1 diff --git a/charts/incubator/anything-llm/README.md b/charts/incubator/anything-llm/README.md new file mode 100644 index 00000000000..7e59600739c --- /dev/null +++ b/charts/incubator/anything-llm/README.md @@ -0,0 +1 @@ +# README diff --git a/charts/incubator/anything-llm/icon.png b/charts/incubator/anything-llm/icon.png new file mode 100644 index 00000000000..33d18ed2171 Binary files /dev/null and b/charts/incubator/anything-llm/icon.png differ diff --git a/charts/incubator/anything-llm/questions.yaml b/charts/incubator/anything-llm/questions.yaml new file mode 100644 index 00000000000..5cfd355538e --- /dev/null +++ b/charts/incubator/anything-llm/questions.yaml @@ -0,0 +1,100 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{workload} +# Include{workloadDeployment} +# Include{replicas1} +# Include{podSpec} +# Include{containerMain} +# Include{containerBasic} +# Include{containerAdvanced} +# Include{containerConfig} +# Include{podOptions} +# Include{serviceRoot} +# Include{serviceMain} +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: main + label: "Main Service Port Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 3001 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: storage + label: "App Storage Storage" + description: "Stores the Application Storage." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: hotdir + label: "App HotDir Storage" + description: "Stores the Application HotDir." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: outputs + label: "App Outputs Storage" + description: "Stores the Application Outputs." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} +# Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: "Main Ingress" + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressAdvanced} +# Include{ingressList} +# Include{securityContextRoot} + - variable: runAsUser + label: "runAsUser" + description: "The UserID of the user running the application" + schema: + type: int + default: 0 + - variable: runAsGroup + label: "runAsGroup" + description: "The groupID of the user running the application" + schema: + type: int + default: 0 +# Include{securityContextContainer} +# Include{securityContextAdvanced} +# Include{securityContextPod} + - variable: fsGroup + label: "fsGroup" + description: "The group that should own ALL storage." + schema: + type: int + default: 568 +# Include{resources} +# Include{advanced} +# Include{addons} +# Include{codeserver} +# Include{netshoot} +# Include{vpn} +# Include{documentation} diff --git a/charts/incubator/anything-llm/templates/NOTES.txt b/charts/incubator/anything-llm/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/anything-llm/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/anything-llm/templates/common.yaml b/charts/incubator/anything-llm/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/anything-llm/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/anything-llm/values.yaml b/charts/incubator/anything-llm/values.yaml new file mode 100644 index 00000000000..5f6f7463a0f --- /dev/null +++ b/charts/incubator/anything-llm/values.yaml @@ -0,0 +1,46 @@ +image: + repository: ghcr.io/mintplex-labs/anything-llm + pullPolicy: IfNotPresent + tag: latest@sha256:398218457ffe5e3be2d686f99ed759a9683075030f72832a89c4cc4429c481ac +securityContext: + container: + readOnlyRootFilesystem: false + runAsUser: 0 + runAsGroup: 0 + capabilities: + add: + - SYS_ADMIN + +service: + main: + ports: + main: + protocol: http + port: 3001 + +workload: + main: + podSpec: + containers: + main: + env: + SERVER_PORT: "{{ .Values.service.main.ports.main.port }}" + STORAGE_DIR: "{{.Values.persistence.storage.mountPath }}" + # forces users to use ingress if https is needed. + # keep false. + ENABLE_HTTPS: false + +persistence: + storage: + enabled: true + mountPath: "/app/server/storage" + hotdir: + enabled: true + mountPath: "/app/collector/hotdir" + outputs: + enabled: true + mountPath: "/app/collector/outputs" + +portal: + open: + enabled: true