Compare commits
1 commit
e4fe75ffa1
...
ec12315706
Author | SHA1 | Date | |
---|---|---|---|
ec12315706 |
2 changed files with 12 additions and 35 deletions
|
@ -10,7 +10,7 @@ spec:
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: app-template
|
chart: app-template
|
||||||
version: 2.4.0
|
version: 2.0.3
|
||||||
interval: 30m
|
interval: 30m
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
|
@ -22,24 +22,11 @@ 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: *peertube-version
|
tag: v6.0.2-bookworm
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
|
@ -57,11 +44,6 @@ 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:
|
||||||
|
@ -69,23 +51,18 @@ 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-nginx
|
name: peertube-configmap
|
||||||
globalMounts:
|
globalMounts:
|
||||||
- path: /etc/nginx/conf.d
|
- path: /config
|
||||||
assets:
|
media:
|
||||||
type: emptyDir
|
existingClaim: nas-storage
|
||||||
globalMounts:
|
advancedMounts:
|
||||||
- path: /assets
|
main:
|
||||||
|
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