Change database hosts.
This commit is contained in:
parent
f90146468d
commit
d6fe248e14
2 changed files with 9 additions and 16 deletions
|
@ -37,6 +37,9 @@ spec:
|
||||||
PEERTUBE_OBJECT_STORAGE_STREAMING_PLAYLISTS_PREFIX: ""
|
PEERTUBE_OBJECT_STORAGE_STREAMING_PLAYLISTS_PREFIX: ""
|
||||||
PEERTUBE_OBJECT_STORAGE_VIDEOS_BUCKET_NAME: "khazadtube-videos"
|
PEERTUBE_OBJECT_STORAGE_VIDEOS_BUCKET_NAME: "khazadtube-videos"
|
||||||
PEERTUBE_OBJECT_STORAGE_VIDEOS_PREFIX: ""
|
PEERTUBE_OBJECT_STORAGE_VIDEOS_PREFIX: ""
|
||||||
|
PEERTUBE_DB_HOSTNAME: "{{ .crunchy_peertube_hostname }}"
|
||||||
|
PEERTUBE_DB_USERNAME: "{{ .crunchy_peertube_username }}"
|
||||||
|
PEERTUBE_DB_PASSWORD: "{{ .crunchy_peertube_password }}"
|
||||||
|
|
||||||
dataFrom:
|
dataFrom:
|
||||||
- extract:
|
- extract:
|
||||||
|
@ -51,6 +54,12 @@ spec:
|
||||||
- regexp:
|
- regexp:
|
||||||
source: "(.*)"
|
source: "(.*)"
|
||||||
target: "peertube_$1"
|
target: "peertube_$1"
|
||||||
|
- extract:
|
||||||
|
key: crunchybridge
|
||||||
|
rewrite:
|
||||||
|
- regexp:
|
||||||
|
source: "(.*)"
|
||||||
|
target: "crunchy_$1"
|
||||||
data:
|
data:
|
||||||
- secretKey: mailgun_smtp_user
|
- secretKey: mailgun_smtp_user
|
||||||
remoteRef:
|
remoteRef:
|
||||||
|
|
|
@ -28,22 +28,6 @@ spec:
|
||||||
repository: ghcr.io/jahanson/peertube-server
|
repository: ghcr.io/jahanson/peertube-server
|
||||||
tag: v5.2.1
|
tag: v5.2.1
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
env:
|
|
||||||
PEERTUBE_DB_HOSTNAME:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: peertube-pguser-peertube
|
|
||||||
key: host
|
|
||||||
PEERTUBE_DB_USERNAME:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: peertube-pguser-peertube
|
|
||||||
key: user
|
|
||||||
PEERTUBE_DB_PASSWORD:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: peertube-pguser-peertube
|
|
||||||
key: password
|
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: peertube-secret
|
name: peertube-secret
|
||||||
|
|
Reference in a new issue