Compare commits
6 commits
ec12315706
...
e4fe75ffa1
Author | SHA1 | Date | |
---|---|---|---|
e4fe75ffa1 | |||
7666558378 | |||
1122775f03 | |||
4b9f40740e | |||
59b0e69e8f | |||
48611b23c1 |
2 changed files with 35 additions and 12 deletions
|
@ -10,7 +10,7 @@ spec:
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: app-template
|
chart: app-template
|
||||||
version: 2.0.3
|
version: 2.4.0
|
||||||
interval: 30m
|
interval: 30m
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
|
@ -22,11 +22,24 @@ spec:
|
||||||
main:
|
main:
|
||||||
annotations:
|
annotations:
|
||||||
reloader.stakater.com/auto: "true"
|
reloader.stakater.com/auto: "true"
|
||||||
|
initContainers:
|
||||||
|
init-config:
|
||||||
|
image:
|
||||||
|
repository: docker.io/chocobozzz/peertube
|
||||||
|
tag: &peertube-version v6.0.2-bookworm
|
||||||
|
command:
|
||||||
|
- "/bin/sh"
|
||||||
|
- "-c"
|
||||||
|
args:
|
||||||
|
- cp /app/support/docker/production/config/* /config;
|
||||||
|
cp /app/config/default.yaml /config;
|
||||||
|
chown -R peertube:peertube /data /config;
|
||||||
|
cp -r /app/client/dist/* /assets/;
|
||||||
containers:
|
containers:
|
||||||
main:
|
main:
|
||||||
image:
|
image:
|
||||||
repository: docker.io/chocobozzz/peertube
|
repository: docker.io/chocobozzz/peertube
|
||||||
tag: v6.0.2-bookworm
|
tag: *peertube-version
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
|
@ -44,6 +57,11 @@ spec:
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 15
|
||||||
|
nginx:
|
||||||
|
image:
|
||||||
|
repository: docker.io/library/nginx
|
||||||
|
tag: 1.25.3-alpine
|
||||||
|
pullPolicy: Always
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
|
@ -51,18 +69,23 @@ spec:
|
||||||
port: &port-api 9000
|
port: &port-api 9000
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
# config:
|
||||||
|
# enabled: true
|
||||||
|
# type: configMap
|
||||||
|
# name: peertube-configmap
|
||||||
|
# globalMounts:
|
||||||
|
# - path: /config
|
||||||
|
nginx-conf:
|
||||||
enabled: true
|
enabled: true
|
||||||
type: configMap
|
type: configMap
|
||||||
name: peertube-configmap
|
name: peertube-nginx
|
||||||
globalMounts:
|
globalMounts:
|
||||||
- path: /config
|
- path: /etc/nginx/conf.d
|
||||||
media:
|
assets:
|
||||||
existingClaim: nas-storage
|
type: emptyDir
|
||||||
advancedMounts:
|
globalMounts:
|
||||||
main:
|
- path: /assets
|
||||||
main:
|
|
||||||
- path: /data
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|
|
@ -5,7 +5,7 @@ kind: Kustomization
|
||||||
namespace: peertube
|
namespace: peertube
|
||||||
resources:
|
resources:
|
||||||
- ./externalsecret.yaml
|
- ./externalsecret.yaml
|
||||||
# - ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
# - ./ingress.yaml
|
# - ./ingress.yaml
|
||||||
- ./postgresCluster.yaml
|
- ./postgresCluster.yaml
|
||||||
- ./pvc.yaml
|
- ./pvc.yaml
|
||||||
|
|
Reference in a new issue