feat(anything-llm) add anything-llm (#17474)

**Description**
Open-source ChatGPT experience for LLMs, embedders, and vector
databases.
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [X] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [X] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Xstar97TheNoob
2024-01-21 16:09:50 -05:00
committed by GitHub
parent 95f5c16d29
commit 92a5248e80
9 changed files with 219 additions and 0 deletions
+30
View File
@@ -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
@@ -0,0 +1,3 @@
---
title: Changelog
---
+37
View File
@@ -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
+1
View File
@@ -0,0 +1 @@
# README
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

@@ -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}
@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}
@@ -0,0 +1 @@
{{ include "tc.v1.common.loader.all" . }}
+46
View File
@@ -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