peertube: bump to v5.0.1, helm chart v0.2.0
This commit is contained in:
parent
23d4f4c2f7
commit
32ecc39ae0
@ -5,11 +5,11 @@ dependencies:
|
|||||||
- condition: postgresql.enabled
|
- condition: postgresql.enabled
|
||||||
name: postgresql
|
name: postgresql
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 10.2.1
|
version: 12.2.2
|
||||||
- condition: redis.enabled
|
- condition: redis.enabled
|
||||||
name: redis
|
name: redis
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 12.3.2
|
version: 17.8.2
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.15
|
version: 0.2.0
|
||||||
appVersion: 4.3.1
|
appVersion: 5.0.1
|
||||||
|
Binary file not shown.
BIN
peertube/charts/postgresql-12.2.2.tgz
Normal file
BIN
peertube/charts/postgresql-12.2.2.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
peertube/charts/redis-17.8.2.tgz
Normal file
BIN
peertube/charts/redis-17.8.2.tgz
Normal file
Binary file not shown.
@ -30,7 +30,10 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
- name: check-db-ready
|
- name: check-db-ready
|
||||||
image: postgres:latest
|
image: postgres:latest
|
||||||
command: ['sh', '-c', 'until pg_isready -h {{ .Values.configAsCode.config.database.hostname }} -p 5432; do echo waiting for database; sleep 5; done;']
|
command: ['sh', '-c', 'until pg_isready -h {{ .Values.configAsCode.config.database.hostname }} -p {{ .Values.configAsCode.config.database.port }} ; do echo waiting for database; sleep 5; done;']
|
||||||
|
- name: check-redis-ready
|
||||||
|
image: redis:latest
|
||||||
|
command: ['sh', '-c', 'until [ "$(redis-cli -h {{ .Values.configAsCode.config.redis.hostname }} -p {{ .Values.configAsCode.config.redis.port }} ping)" = "PONG" ] ; do echo waiting for redis; sleep 5; done;']
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
|
@ -8,7 +8,7 @@ image:
|
|||||||
repository: chocobozzz/peertube
|
repository: chocobozzz/peertube
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "v4.3.1-bullseye"
|
tag: "v5.0.1-bullseye"
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
@ -25,6 +25,10 @@ configAsCode:
|
|||||||
https: true
|
https: true
|
||||||
hostname: 'peertube.example.com'
|
hostname: 'peertube.example.com'
|
||||||
port: 443
|
port: 443
|
||||||
|
# Secrets you need to generate the first time you run PeerTube
|
||||||
|
secrets:
|
||||||
|
# Generate one using `openssl rand -hex 32`
|
||||||
|
peertube: 'change-me-i-am-not-secure'
|
||||||
rates_limit:
|
rates_limit:
|
||||||
api:
|
api:
|
||||||
# 50 attempts in 10 seconds
|
# 50 attempts in 10 seconds
|
||||||
@ -62,7 +66,7 @@ configAsCode:
|
|||||||
port: 5432
|
port: 5432
|
||||||
ssl: false
|
ssl: false
|
||||||
suffix: ''
|
suffix: ''
|
||||||
username: 'postgres'
|
username: 'peertube'
|
||||||
password: 'peertube'
|
password: 'peertube'
|
||||||
pool:
|
pool:
|
||||||
max: 5
|
max: 5
|
||||||
@ -130,6 +134,7 @@ configAsCode:
|
|||||||
captions: '/var/www/peertube/storage/captions/'
|
captions: '/var/www/peertube/storage/captions/'
|
||||||
cache: '/var/www/peertube/storage/cache/'
|
cache: '/var/www/peertube/storage/cache/'
|
||||||
plugins: '/var/www/peertube/storage/plugins/'
|
plugins: '/var/www/peertube/storage/plugins/'
|
||||||
|
well_known: '/var/www/peertube/storage/well-known/'
|
||||||
# Overridable client files in client/dist/assets/images:
|
# Overridable client files in client/dist/assets/images:
|
||||||
# - logo.svg
|
# - logo.svg
|
||||||
# - favicon.png
|
# - favicon.png
|
||||||
@ -141,13 +146,26 @@ configAsCode:
|
|||||||
# If the file exists, peertube will serve it
|
# If the file exists, peertube will serve it
|
||||||
# If not, peertube will fallback to the default file
|
# If not, peertube will fallback to the default file
|
||||||
client_overrides: '/var/www/peertube/storage/client-overrides/'
|
client_overrides: '/var/www/peertube/storage/client-overrides/'
|
||||||
|
static_files:
|
||||||
|
# Require and check user authentication when accessing private files (internal/private video files)
|
||||||
|
private_files_require_auth: true
|
||||||
object_storage:
|
object_storage:
|
||||||
enabled: false
|
enabled: false
|
||||||
# Without protocol, will default to HTTPS
|
# Without protocol, will default to HTTPS
|
||||||
endpoint: '' # 's3.amazonaws.com' or 's3.fr-par.scw.cloud' for example
|
endpoint: '' # 's3.amazonaws.com' or 's3.fr-par.scw.cloud' for example
|
||||||
region: 'us-east-1'
|
region: 'us-east-1'
|
||||||
# Set this ACL on each uploaded object
|
upload_acl:
|
||||||
upload_acl: 'public-read'
|
# Set this ACL on each uploaded object of public/unlisted videos
|
||||||
|
public: 'public-read'
|
||||||
|
# Set this ACL on each uploaded object of private/internal videos
|
||||||
|
# PeerTube can proxify requests to private objects so your users can access them
|
||||||
|
private: 'private'
|
||||||
|
proxy:
|
||||||
|
# If private files (private/internal video files) have a private ACL, users can't access directly the ressource
|
||||||
|
# PeerTube can proxify requests between your object storage service and your users
|
||||||
|
# If you disable PeerTube proxy, ensure you use your own proxy that is able to access the private files
|
||||||
|
# Or you can also set a public ACL for private files in object storage if you don't want to use a proxy
|
||||||
|
proxify_private_files: true
|
||||||
credentials:
|
credentials:
|
||||||
# You can also use AWS_ACCESS_KEY_ID env variable
|
# You can also use AWS_ACCESS_KEY_ID env variable
|
||||||
access_key_id: ''
|
access_key_id: ''
|
||||||
@ -179,12 +197,14 @@ configAsCode:
|
|||||||
prettify_sql: false
|
prettify_sql: false
|
||||||
# Accept warn/error logs coming from the client
|
# Accept warn/error logs coming from the client
|
||||||
accept_client_log: true
|
accept_client_log: true
|
||||||
# Highly experimental support of Open Telemetry
|
# Support of Open Telemetry metrics and tracing
|
||||||
|
# For more information: https://docs.joinpeertube.org/maintain-observability
|
||||||
open_telemetry:
|
open_telemetry:
|
||||||
metrics:
|
metrics:
|
||||||
enabled: false
|
enabled: false
|
||||||
# Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics
|
# Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics
|
||||||
prometheus_exporter:
|
prometheus_exporter:
|
||||||
|
hostname: '127.0.0.1'
|
||||||
port: 9091
|
port: 9091
|
||||||
tracing:
|
tracing:
|
||||||
enabled: false
|
enabled: false
|
||||||
@ -505,6 +525,8 @@ configAsCode:
|
|||||||
check_interval: 1 hour
|
check_interval: 1 hour
|
||||||
# Number of latest published videos to check and to potentially import when syncing a channel
|
# Number of latest published videos to check and to potentially import when syncing a channel
|
||||||
videos_limit_per_synchronization: 10
|
videos_limit_per_synchronization: 10
|
||||||
|
# Max number of videos to import when the user asks for full sync
|
||||||
|
full_sync_videos_limit: 1000
|
||||||
auto_blacklist:
|
auto_blacklist:
|
||||||
# New videos automatically blacklisted so moderators can review before publishing
|
# New videos automatically blacklisted so moderators can review before publishing
|
||||||
videos:
|
videos:
|
||||||
@ -574,7 +596,8 @@ configAsCode:
|
|||||||
robots: |
|
robots: |
|
||||||
User-agent: *
|
User-agent: *
|
||||||
Disallow:
|
Disallow:
|
||||||
# Security.txt rules. To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string
|
# /.well-known/security.txt rules. This endpoint is cached, so you may have to wait a few hours before viewing your changes
|
||||||
|
# To discourage researchers from testing your instance and disable security.txt integration, set this to an empty string
|
||||||
securitytxt:
|
securitytxt:
|
||||||
'# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:'
|
'# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:'
|
||||||
services:
|
services:
|
||||||
@ -728,9 +751,10 @@ persistence:
|
|||||||
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
|
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: true
|
enabled: true
|
||||||
postgresqlUsername: postgres
|
auth:
|
||||||
postgresqlPassword: peertube
|
username: peertube
|
||||||
postgresqlDatabase: peertube
|
password: peertube
|
||||||
|
database: peertube
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
# storageClass: ""
|
# storageClass: ""
|
||||||
@ -739,13 +763,15 @@ postgresql:
|
|||||||
my_init_script.sh: |
|
my_init_script.sh: |
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export PGPASSWORD=peertube
|
export PGPASSWORD=peertube
|
||||||
/opt/bitnami/postgresql/bin/psql -U postgres -d peertube -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;'
|
/opt/bitnami/postgresql/bin/psql -U peertube -d peertube -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;'
|
||||||
/opt/bitnami/postgresql/bin/psql -U postgres -d peertube -c 'CREATE EXTENSION IF NOT EXISTS unaccent;'
|
/opt/bitnami/postgresql/bin/psql -U peertube -d peertube -c 'CREATE EXTENSION IF NOT EXISTS unaccent;'
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
enabled: true
|
enabled: true
|
||||||
usePassword: false
|
architecture: "standalone"
|
||||||
password: ""
|
auth:
|
||||||
|
enabled: false
|
||||||
|
password: ""
|
||||||
|
|
||||||
## Liveness and readiness probe values
|
## Liveness and readiness probe values
|
||||||
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
|
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user