(feat) Add riven (#27673)

**Description**
Adds Riven chart

**⚙️ Type of change**

- [ ] ⚙️ 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:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 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
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

** App addition**

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

- [ ] 🖼️ 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._

---------

Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
Signed-off-by: alfi0812 <43101280+alfi0812@users.noreply.github.com>
Co-authored-by: alfi0812 <43101280+alfi0812@users.noreply.github.com>
This commit is contained in:
Kjeld Schouten
2024-10-16 12:29:19 +02:00
committed by GitHub
parent a670c1ab52
commit bc2a642e7a
8 changed files with 243 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
# 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
icon.webp
icon-small.webp

View File

View File

@@ -0,0 +1,31 @@
annotations:
truecharts.org/category: security
truecharts.org/max_helm_version: "3.15"
truecharts.org/min_helm_version: "3.11"
truecharts.org/train: incubator
apiVersion: v2
appVersion: 1.32.1
dependencies:
- name: common
version: 25.0.0
repository: oci://tccr.io/truecharts
condition: ""
alias: ""
tags: []
import-values: []
deprecated: false
description: Riven Self-Hosted
home: https://truecharts.org/charts/premium/riven
icon: https://truecharts.org/img/hotlink-ok/chart-icons/riven.webp
keywords:
- riven
kubeVersion: '>=1.24.0-0'
maintainers:
- name: TrueCharts
email: info@truecharts.org
url: https://truecharts.org
name: riven
sources:
- https://github.com/truecharts/charts/tree/master/charts/premium/riven
type: application
version: 0.0.1

View File

@@ -0,0 +1,61 @@
---
title: README
---
## General Info
TrueCharts can be installed as both _normal_ Helm Charts or as TrueNAS SCALE Apps.
Both solutions are fully supported, but we heavily advice the use of normal Helm Charts where possible
For more information about this Chart, please check the docs on the TrueCharts [website](https://truecharts.org/charts/premium/riven)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Installation
### Helm-Chart installation
To install TrueCharts Helm charts using Helm, you can use our OCI Repository.
`helm install mychart oci://tccr.io/truecharts/riven`
For more information on how to install TrueCharts Helm charts, checkout the [instructions on the website](/guides)
### TrueNAS SCALE Apps
For more information on how to use TrueCharts as TrueNAS SCALE Apps, please checkout the [quick-start guides for TrueNAS SCALE](/deprecated/scale).
## Chart Specific Guides and information
All our charts have dedicated documentation pages.
The documentation for this chart can be found here:
https://truecharts.org/charts/premium/riven
## Configuration Options
Please note: For TrueNAS SCALE, only options available in the GUI are supported.
Hence most of these docs do not apply to TrueNAS SCALE
To view the chart specific options, please view Values.yaml included in the chart.
The most recent version of which, is available here: https://github.com/truecharts/public/blob/master/charts/premium/riven/values.yaml
All our Charts use a shared "common" library chart that contains most of the templating and options.
For the complete overview of all available options, please checkout the documentation for them on the [common docs on our website](/common)
For information about the common chart and all defaults included with it, please review its values.yaml file available here: https://github.com/truecharts/public/blob/master/charts/library/common/values.yaml
## Support
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](/general/sponsor) or contributing back to the project any way you can!
_All Rights Reserved - The TrueCharts Project_

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@@ -0,0 +1 @@
{{- include "tc.v1.common.lib.chart.notes" $ -}}

View File

@@ -0,0 +1,2 @@
{{ include "tc.v1.common.loader.all" . }}

View File

@@ -0,0 +1,116 @@
image:
repository: ghcr.io/elfhosted/riven
pullPolicy: IfNotPresent
tag: v0.15.3@sha256:2942af96b90708f24c87acdf2c1cd22e334c5cb3d5421c6d280e1ce4988df59e
frontendImage:
repository: ghcr.io/elfhosted/riven-frontend
pullPolicy: IfNotPresent
tag: v0.13.1@sha256:92cee31094be29b9a2df7e18527dc7cfc3e82bb4acff56c7da6496576ef619ad
service:
main:
ports:
main:
port: 3001
targetPort: 3001
frontend:
enabled: true
ports:
frontend:
enabled: true
port: 3000
targetPort: 3000
backend:
enabled: true
ports:
backend:
enabled: true
port: 8080
targetPort: 8080
workload:
main:
podSpec:
containers:
main:
tty: true
env:
# forces the use of env vars to be always used!
RIVEN_FORCE_ENV: "true"
ZURG_URL: somezurgurl:9999
# Set this to your rclone's mount `__all__` dir if using Zurg
RIVEN_SYMLINK_RCLONE_PATH: "/mnt/zurg/__all__"
# This is the path that symlinks will be placed in
RIVEN_SYMLINK_LIBRARY_PATH: "/mnt/library"
RIVEN_DATABASE_HOST: '{{ printf "postgresql+psycopg2://%s:%s@%s.%s/%s" .Values.cnpg.main.user .Values.cnpg.main.creds.password (.Values.cnpg.main.creds.host | trimAll "\"") .Release.Namespace .Values.cnpg.main.database }}'
RIVEN_DOWNLOADERS_REAL_DEBRID_ENABLED: "false"
# set your real debrid api key
RIVEN_DOWNLOADERS_REAL_DEBRID_API_KEY: "xxxxx"
RIVEN_UPDATERS_PLEX_ENABLED: "false"
RIVEN_UPDATERS_PLEX_URL: "http://plex:32400"
# set your plex token"
RIVEN_UPDATERS_PLEX_TOKEN: "xxxxx"
RIVEN_CONTENT_OVERSEERR_ENABLED: "false"
RIVEN_CONTENT_OVERSEERR_URL: "http://overseerr:5055"
# set your overseerr token
RIVEN_CONTENT_OVERSEERR_API_KEY: "xxxxx"
RIVEN_SCRAPING_TORRENTIO_ENABLED: "false"
RIVEN_SCRAPING_ZILEAN_ENABLED: "false"
RIVEN_SCRAPING_ZILEAN_URL: "http://zilean:8181"
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
frontend:
enabled: true
tty: true
imageSelector: frontendImage
probes:
liveness:
port: 3000
type: tcp
readiness:
port: 3000
type: tcp
startup:
port: 3000
type: tcp
env:
# ORIGIN: "http://localhost:3000"
BACKEND_URL: "http://localhost:8080"
DIALECT: "postgres"
DATABASE_URL: '{{ printf "postgresql://%s:%s@%s.%s/%s" .Values.cnpg.main.user .Values.cnpg.main.creds.password (.Values.cnpg.main.creds.host | trimAll "\"") .Release.Namespace .Values.cnpg.main.database }}'
persistence:
logs:
enabled: true
mountPath: "/riven/data/logs"
data:
enabled: true
mountPath: "/riven/data"
zurg-all:
enabled: true
mountPath: "/mnt/zurg/__all__"
library:
enabled: true
mountPath: "/mnt/library"
cnpg:
main:
enabled: true
user: riven
database: riven
portal:
open:
enabled: true
ingress:
main:
targetSelector:
frontend: frontend