2023-02-15 01:25:36 +00:00
|
|
|
---
|
|
|
|
global:
|
|
|
|
# -- Set an override for the prefix of the fullname
|
|
|
|
nameOverride:
|
|
|
|
# -- Set the entire name definition
|
|
|
|
fullnameOverride:
|
|
|
|
# -- Set additional global labels. Helm templates can be used.
|
2023-06-28 10:14:16 +00:00
|
|
|
labels: {}
|
2023-02-15 01:25:36 +00:00
|
|
|
# -- Set additional global annotations. Helm templates can be used.
|
2023-06-28 10:14:16 +00:00
|
|
|
annotations: {}
|
2023-02-15 01:25:36 +00:00
|
|
|
|
|
|
|
controller:
|
|
|
|
# -- enable the controller.
|
2023-02-15 02:40:41 +00:00
|
|
|
enabled: false
|
2023-02-15 01:25:36 +00:00
|
|
|
|
|
|
|
serviceAccount:
|
|
|
|
create: false
|
|
|
|
|
|
|
|
|
|
|
|
frontend:
|
|
|
|
enabled: true
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
type: ClusterIP
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
port: 80
|
|
|
|
protocol: HTTP
|
|
|
|
|
|
|
|
image:
|
|
|
|
# -- image repository
|
2023-02-15 02:40:41 +00:00
|
|
|
repository: 1337kavin/piped-frontend
|
2023-02-15 01:25:36 +00:00
|
|
|
# -- image tag
|
|
|
|
# @chart.appVersion
|
|
|
|
tag:
|
|
|
|
# -- image pull policy
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
2023-06-28 10:14:16 +00:00
|
|
|
# env:
|
2023-03-02 01:18:33 +00:00
|
|
|
# BACKEND_HOSTNAME: pipedapi.example.org
|
2023-03-01 21:43:03 +00:00
|
|
|
|
|
|
|
command: "/bin/ash"
|
|
|
|
args:
|
|
|
|
- -c
|
2023-07-11 06:36:11 +00:00
|
|
|
- "sed -i s/pipedapi.kavin.rocks/$BACKEND_HOSTNAME/g /usr/share/nginx/html/assets/* && /docker-entrypoint.sh nginx -g 'daemon off;'"
|
2023-02-15 01:25:36 +00:00
|
|
|
|
2023-06-28 10:14:16 +00:00
|
|
|
# resources:
|
2023-04-18 22:53:54 +00:00
|
|
|
# requests:
|
|
|
|
# memory: 32Mi
|
|
|
|
# limits:
|
|
|
|
# memory: 128Mi
|
|
|
|
|
2023-02-15 01:25:36 +00:00
|
|
|
backend:
|
|
|
|
enabled: true
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
type: ClusterIP
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
port: 8080
|
|
|
|
protocol: HTTP
|
|
|
|
|
2023-06-28 10:14:16 +00:00
|
|
|
# command: "/bin/sh"
|
|
|
|
# args:
|
|
|
|
# - -c
|
|
|
|
# - sleep infinity
|
2023-03-02 00:44:16 +00:00
|
|
|
|
|
|
|
# If the hostnames are not set for backend, proxy and API, they will be automatically fetched from their ingresses.
|
2023-03-03 23:52:18 +00:00
|
|
|
config:
|
|
|
|
PORT: 8080
|
|
|
|
HTTP_WORKERS: 2
|
2023-06-28 10:14:16 +00:00
|
|
|
# PROXY_PART: https://PROXY_HOSTNAME
|
2023-03-02 00:44:16 +00:00
|
|
|
# Outgoing HTTP Proxy - eg: 127.0.0.1:8118
|
2023-06-28 10:14:16 +00:00
|
|
|
# HTTP_PROXY: 127.0.0.1:8118
|
2023-03-02 00:44:16 +00:00
|
|
|
# Captcha Parameters
|
2023-06-28 10:14:16 +00:00
|
|
|
# CAPTCHA_BASE_URL: https://api.capmonster.cloud/
|
|
|
|
# CAPTCHA_API_KEY: INSERT_HERE
|
|
|
|
# API_URL: https://BACKEND_HOSTNAME
|
|
|
|
# FRONTEND_URL: https://FRONTEND_HOSTNAME
|
2023-03-02 00:44:16 +00:00
|
|
|
# Enable haveibeenpwned compromised password API
|
2023-06-28 10:14:16 +00:00
|
|
|
# COMPROMISED_PASSWORD_CHECK: true
|
2023-03-02 00:44:16 +00:00
|
|
|
# Disable Registration
|
2023-06-28 10:14:16 +00:00
|
|
|
# DISABLE_REGISTRATION: false
|
2023-03-02 00:44:16 +00:00
|
|
|
# Feed Retention Time in Days
|
2023-06-28 10:14:16 +00:00
|
|
|
# FEED_RETENTION: 30
|
|
|
|
# database:
|
|
|
|
# connection_url: jdbc:postgresql://postgres:5432/piped
|
|
|
|
# driver_class: org.postgresql.Driver
|
|
|
|
# dialect: org.hibernate.dialect.PostgreSQLDialect
|
|
|
|
# username: piped
|
|
|
|
# password: changeme
|
|
|
|
# Please only provide the secret name (it should already exist),
|
2023-03-05 06:59:45 +00:00
|
|
|
# it should only include database.username and database.password as others will be taken from above.
|
2024-01-24 10:49:48 +00:00
|
|
|
# secret:
|
|
|
|
# name: secret-name
|
|
|
|
# Optionally grab differently named keys
|
|
|
|
# username: DB_USERNAME
|
|
|
|
# password: DB_PASSWORD
|
2023-03-02 00:44:16 +00:00
|
|
|
|
|
|
|
|
2023-02-15 01:25:36 +00:00
|
|
|
image:
|
|
|
|
# -- image repository
|
|
|
|
repository: 1337kavin/piped
|
|
|
|
# -- image tag
|
|
|
|
# @chart.appVersion
|
|
|
|
tag:
|
|
|
|
# -- image pull policy
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
2023-06-28 10:14:16 +00:00
|
|
|
# resources:
|
2023-04-18 22:53:54 +00:00
|
|
|
# requests:
|
|
|
|
# memory: 500Mi
|
|
|
|
# limits:
|
|
|
|
# memory: 1500Mi
|
|
|
|
|
2023-02-15 01:25:36 +00:00
|
|
|
ytproxy:
|
|
|
|
enabled: true
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
type: ClusterIP
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
enabled: true
|
|
|
|
primary: true
|
|
|
|
port: 8080
|
|
|
|
protocol: HTTP
|
|
|
|
|
2023-02-15 02:40:41 +00:00
|
|
|
command: "/app/piped-proxy"
|
|
|
|
|
2023-02-15 01:25:36 +00:00
|
|
|
|
|
|
|
image:
|
|
|
|
# -- image repository
|
|
|
|
repository: 1337kavin/piped-proxy
|
|
|
|
# -- image tag
|
|
|
|
# @chart.appVersion
|
|
|
|
tag:
|
|
|
|
# -- image pull policy
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
2023-06-28 10:14:16 +00:00
|
|
|
# resources:
|
2023-04-18 22:53:54 +00:00
|
|
|
# requests:
|
|
|
|
# memory: 32Mi
|
|
|
|
# limits:
|
|
|
|
# memory: 500Mi
|
|
|
|
|
2023-02-15 01:25:36 +00:00
|
|
|
ingress:
|
|
|
|
main:
|
2023-03-02 00:44:16 +00:00
|
|
|
enabled: true
|
2023-03-03 23:52:18 +00:00
|
|
|
primary: true
|
2023-02-15 01:25:36 +00:00
|
|
|
hosts:
|
2023-03-02 00:44:16 +00:00
|
|
|
- host: piped.video
|
2023-02-15 01:25:36 +00:00
|
|
|
paths:
|
|
|
|
- path: "/"
|
|
|
|
tls: []
|
|
|
|
|
|
|
|
backend:
|
2023-03-02 00:44:16 +00:00
|
|
|
enabled: true
|
|
|
|
ingressClassName: nginx
|
2023-02-15 01:25:36 +00:00
|
|
|
primary: false
|
|
|
|
hosts:
|
2023-03-02 00:44:16 +00:00
|
|
|
- host: pipedapi.piped.video
|
2023-02-15 01:25:36 +00:00
|
|
|
paths:
|
|
|
|
- path: "/"
|
|
|
|
tls: []
|
|
|
|
|
|
|
|
ytproxy:
|
2023-03-02 00:44:16 +00:00
|
|
|
enabled: true
|
|
|
|
ingressClassName: nginx
|
2023-02-15 01:25:36 +00:00
|
|
|
primary: false
|
|
|
|
hosts:
|
2023-03-02 00:44:16 +00:00
|
|
|
- host: ytproxy.piped.video
|
2023-02-15 01:25:36 +00:00
|
|
|
paths:
|
|
|
|
- path: "/"
|
|
|
|
tls: []
|
|
|
|
|
2023-03-02 00:44:16 +00:00
|
|
|
# See options from https://artifacthub.io/packages/helm/bitnami/postgresql#parameters
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
image:
|
2023-10-21 11:24:11 +00:00
|
|
|
tag: 13.12.0-debian-11-r58
|
2023-03-02 00:44:16 +00:00
|
|
|
auth:
|
|
|
|
database: piped
|
|
|
|
username: piped
|
|
|
|
password: changemepiped
|
2023-02-15 01:25:36 +00:00
|
|
|
|
|
|
|
# -- Probe configuration
|
|
|
|
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
|
|
|
|
# @default -- See below
|
|
|
|
probes:
|
|
|
|
# -- Liveness probe configuration
|
|
|
|
# @default -- See below
|
|
|
|
liveness:
|
|
|
|
# -- Enable the liveness probe
|
2023-03-03 23:52:18 +00:00
|
|
|
enabled: true
|
2023-02-15 01:25:36 +00:00
|
|
|
# -- Set this to `true` if you wish to specify your own livenessProbe
|
|
|
|
custom: false
|
|
|
|
# -- The spec field contains the values for the default livenessProbe.
|
|
|
|
# If you selected `custom: true`, this field holds the definition of the livenessProbe.
|
|
|
|
# @default -- See below
|
|
|
|
spec:
|
|
|
|
initialDelaySeconds: 0
|
|
|
|
periodSeconds: 10
|
|
|
|
timeoutSeconds: 1
|
|
|
|
failureThreshold: 3
|
|
|
|
|
|
|
|
# -- Redainess probe configuration
|
|
|
|
# @default -- See below
|
|
|
|
readiness:
|
|
|
|
# -- Enable the readiness probe
|
2023-03-03 23:52:18 +00:00
|
|
|
enabled: true
|
2023-02-15 01:25:36 +00:00
|
|
|
# -- Set this to `true` if you wish to specify your own readinessProbe
|
|
|
|
custom: false
|
|
|
|
# -- The spec field contains the values for the default readinessProbe.
|
|
|
|
# If you selected `custom: true`, this field holds the definition of the readinessProbe.
|
|
|
|
# @default -- See below
|
|
|
|
spec:
|
|
|
|
initialDelaySeconds: 0
|
|
|
|
periodSeconds: 10
|
|
|
|
timeoutSeconds: 1
|
|
|
|
failureThreshold: 3
|
|
|
|
|
|
|
|
# -- Startup probe configuration
|
|
|
|
# @default -- See below
|
|
|
|
startup:
|
|
|
|
# -- Enable the startup probe
|
2023-03-03 23:52:18 +00:00
|
|
|
enabled: true
|
2023-02-15 01:25:36 +00:00
|
|
|
# -- Set this to `true` if you wish to specify your own startupProbe
|
|
|
|
custom: false
|
|
|
|
# -- The spec field contains the values for the default startupProbe.
|
|
|
|
# If you selected `custom: true`, this field holds the definition of the startupProbe.
|
|
|
|
# @default -- See below
|
|
|
|
spec:
|
|
|
|
initialDelaySeconds: 0
|
|
|
|
timeoutSeconds: 1
|
|
|
|
## This means it has a maximum of 5*30=150 seconds to start up before it fails
|
|
|
|
periodSeconds: 5
|
|
|
|
failureThreshold: 30
|
|
|
|
|
|
|
|
termination:
|
|
|
|
gracePeriodSeconds:
|