From 4317c5050a1f985968980f76a6357428a0c91c79 Mon Sep 17 00:00:00 2001 From: homejacob Date: Tue, 30 Sep 2025 11:18:38 +0200 Subject: [PATCH] add invidious --- helm/invidious/Chart.yaml | 18 +++++++ helm/invidious/values.yaml | 107 +++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+) create mode 100644 helm/invidious/Chart.yaml create mode 100644 helm/invidious/values.yaml diff --git a/helm/invidious/Chart.yaml b/helm/invidious/Chart.yaml new file mode 100644 index 0000000..bdbff0f --- /dev/null +++ b/helm/invidious/Chart.yaml @@ -0,0 +1,18 @@ +apiVersion: v2 +name: invidious +type: application +version: 2.3.0 +appVersion: v2.20240427 +dependencies: + - name: postgresql + version: ~14.3.1 + repository: "oci://registry-1.docker.io/bitnamicharts" + condition: postgresql.enabled +engine: gotpl +keywords: + - youtube + - proxy + - video + - privacy +sources: + - https://github.com/iv-org/invidious diff --git a/helm/invidious/values.yaml b/helm/invidious/values.yaml new file mode 100644 index 0000000..f5b55d5 --- /dev/null +++ b/helm/invidious/values.yaml @@ -0,0 +1,107 @@ +name: invidious + +image: + repository: quay.io/invidious/invidious + tag: latest + pullPolicy: Always + +imagePullSecrets: [] +nameOverride: "" +fullnameOverride: "" + +# Setting replicaCount higher than 1 may cause PostgreSQL database deadlocks. +# This happens when multiple Invidious processes simultaneously attempt to refresh channel subscriptions for users. +replicaCount: 1 + +autoscaling: + enabled: false + minReplicas: 1 + maxReplicas: 16 + targetCPUUtilizationPercentage: 50 + +service: + type: ClusterIP + port: 3000 + # loadBalancerIP: + +ingress: + enabled: false + className: "" + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + hosts: + - host: invidious.darkstars.local + paths: + - path: / + pathType: ImplementationSpecific + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + +resources: {} + # requests: + # cpu: 100m + # memory: 64Mi + # limits: + # cpu: 800m + # memory: 512Mi + +deploymentLabels: {} + +podSecurityContext: + runAsUser: 1000 + runAsGroup: 1000 + fsGroup: 1000 + +securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + +nodeSelector: {} + +tolerations: [] + +affinity: {} + + +# Reference: https://github.com/bitnami/charts/tree/main/bitnami/postgresql +postgresql: + enabled: true + image: + tag: 16 + auth: + username: kemal + password: kemal + database: invidious + +# Reference: https://github.com/iv-org/invidious/blob/master/config/config.example.yml +config: + db: + user: kemal + password: kemal + host: "" + port: 5432 + dbname: invidious + port: 3000 + domain: "" + https_only: false + channel_threads: 1 + full_refresh: false + feed_threads: 1 + +env: [] + +sighelper: + enabled: true + resources: {} + service: + port: 12999 + image: + repository: quay.io/invidious/inv-sig-helper + tag: latest + pullPolicy: Always + env: []