Skip to content

Commit

Permalink
Publish new changes in catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicaj committed Jan 11, 2024
1 parent aa399c5 commit 76f7f43
Show file tree
Hide file tree
Showing 19 changed files with 1,018 additions and 0 deletions.
6 changes: 6 additions & 0 deletions community/invidious/1.0.0/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: common
repository: file://../../../common
version: 1.2.7
digest: sha256:d69abe6772f86bc5c22cd95bf4505685ca88a1f5f99d78e2cf58cb66bb945e07
generated: "2024-01-10T16:53:36.659684978+02:00"
25 changes: 25 additions & 0 deletions community/invidious/1.0.0/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: invidious
description: Invidious is an alternative front-end to YouTube
annotations:
title: Invidious
type: application
version: 1.0.0
apiVersion: v2
appVersion: latest
kubeVersion: '>=1.16.0-0'
maintainers:
- name: truenas
url: https://www.truenas.com/
email: [email protected]
dependencies:
- name: common
repository: file://../../../common
version: 1.2.7
home: https://invidious.io/
icon: https://media.sys.truenas.net/apps/invidious/icons/icon.svg
sources:
- https://invidious.io/
- https://github.com/truenas/charts/tree/master/community/invidious
- https://quay.io/repository/invidious
keywords:
- youtube
16 changes: 16 additions & 0 deletions community/invidious/1.0.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Invidious

[Invidious](https://invidious.io/) is an alternative front-end to YouTube.

> When application is installed, a container will be launched with **root** privileges.
> This is required in order to apply the correct permissions to the `postgres` directories.
> Afterward, the `postgres` container will run as a **non**-root user (`999`).
> On each upgrade, a container will be launched with **root** privileges in order to apply the correct
> permissions to the `postgres` **backups** directory. Container that performs the backup will run as a **non**-root user (`999`) afterwards.
> Keep in mind the permissions on the backup directory will be changed to `999:999` on **every** update.
> But will only be changed once for the `postgres` data directories.
Additional configuration can be specified

- Via [environment variables](https://github.com/iv-org/invidious/pull/1702)
- By editing the file `/config/config.yaml` (see [example](https://github.com/iv-org/invidious/blob/master/config/config.example.yml))
16 changes: 16 additions & 0 deletions community/invidious/1.0.0/app-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Invidious

[Invidious](https://invidious.io/) is an alternative front-end to YouTube.

> When application is installed, a container will be launched with **root** privileges.
> This is required in order to apply the correct permissions to the `postgres` directories.
> Afterward, the `postgres` container will run as a **non**-root user (`999`).
> On each upgrade, a container will be launched with **root** privileges in order to apply the correct
> permissions to the `postgres` **backups** directory. Container that performs the backup will run as a **non**-root user (`999`) afterwards.
> Keep in mind the permissions on the backup directory will be changed to `999:999` on **every** update.
> But will only be changed once for the `postgres` data directories.
Additional configuration can be specified

- Via [environment variables](https://github.com/iv-org/invidious/pull/1702)
- By editing the file `/config/config.yaml` (see [example](https://github.com/iv-org/invidious/blob/master/config/config.example.yml))
Binary file added community/invidious/1.0.0/charts/common-1.2.7.tgz
Binary file not shown.
18 changes: 18 additions & 0 deletions community/invidious/1.0.0/ci/basic-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
invidiousNetwork:
webPort: 31000

invidiousConfig:
admins:
- admin1
- admin2

invidiousStorage:
config:
type: pvc
pgData:
type: pvc
pgBackup:
type: emptyDir
emptyDirConfig:
medium: ""
size: ""
61 changes: 61 additions & 0 deletions community/invidious/1.0.0/ix_values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
image:
repository: quay.io/invidious/invidious
pullPolicy: IfNotPresent
tag: latest
gitImage:
repository: bitnami/git
pullPolicy: IfNotPresent
tag: latest

resources:
limits:
cpu: 4000m
memory: 8Gi

invidiousConfig:
admins: []
registrationEnabled: true
loginEnabled: true
captchaEnabled: true
additionalEnvs: []

invidiousNetwork:
webPort: 31008

invidiousStorage:
config:
type: ixVolume
ixVolumeConfig:
datasetName: config
pgData:
type: ixVolume
ixVolumeConfig:
datasetName: pgData
pgBackup:
type: ixVolume
ixVolumeConfig:
datasetName: pgBackup
additionalStorages: []

notes:
custom: |
## Database
You can connect to the database using the pgAdmin App from the catalog
<details>
<summary>Database Details</summary>
- Database: `invidious`
- Username: `kemal`
- Password: `{{ .Values.invidiousDbPass }}`
- Host: `{{ .Values.invidiousDbHost }}.{{ .Release.Namespace }}.svc.cluster.local`
- Port: `5432`
</details>
{{- $_ := unset .Values "invidiousDbPass" }}
{{- $_ := unset .Values "invidiousDbHost" }}
Additional configuration can be specified
- Via [environment variables](https://github.com/iv-org/invidious/pull/1702)
- By editing the file `/config/config.yaml` (see [example](https://github.com/iv-org/invidious/blob/master/config/config.example.yml))
13 changes: 13 additions & 0 deletions community/invidious/1.0.0/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
runAsContext:
- userName: invidious
groupName: invidious
gid: 1000
uid: 1000
description: Invidious runs as non-root user
- userName: postgres
groupName: postgres
gid: 999
uid: 999
description: Postgres runs as a non-root user.
capabilities: []
hostMounts: []
Loading

0 comments on commit 76f7f43

Please sign in to comment.