diff --git a/charts/incubator/riven/.helmignore b/charts/incubator/riven/.helmignore new file mode 100644 index 000000000000..feb7464da6f7 --- /dev/null +++ b/charts/incubator/riven/.helmignore @@ -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 diff --git a/charts/incubator/riven/CHANGELOG.md b/charts/incubator/riven/CHANGELOG.md new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/charts/incubator/riven/Chart.yaml b/charts/incubator/riven/Chart.yaml new file mode 100644 index 000000000000..f220f24bc336 --- /dev/null +++ b/charts/incubator/riven/Chart.yaml @@ -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 diff --git a/charts/incubator/riven/README.md b/charts/incubator/riven/README.md new file mode 100644 index 000000000000..4f656372f650 --- /dev/null +++ b/charts/incubator/riven/README.md @@ -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_ diff --git a/charts/incubator/riven/icon.png b/charts/incubator/riven/icon.png new file mode 100644 index 000000000000..25bc12f52e74 Binary files /dev/null and b/charts/incubator/riven/icon.png differ diff --git a/charts/incubator/riven/templates/NOTES.txt b/charts/incubator/riven/templates/NOTES.txt new file mode 100644 index 000000000000..efcb74cb7721 --- /dev/null +++ b/charts/incubator/riven/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/riven/templates/common.yaml b/charts/incubator/riven/templates/common.yaml new file mode 100644 index 000000000000..992373e7501d --- /dev/null +++ b/charts/incubator/riven/templates/common.yaml @@ -0,0 +1,2 @@ + +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/riven/values.yaml b/charts/incubator/riven/values.yaml new file mode 100644 index 000000000000..170f08504ce9 --- /dev/null +++ b/charts/incubator/riven/values.yaml @@ -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