-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
1,018 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: [] |
Oops, something went wrong.