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_VIDEOS_BUCKET_NAME: "khazadtube-videos"
|
||||
PEERTUBE_OBJECT_STORAGE_VIDEOS_PREFIX: ""
|
||||
PEERTUBE_DB_HOSTNAME: "{{ .crunchy_peertube_hostname }}"
|
||||
PEERTUBE_DB_USERNAME: "{{ .crunchy_peertube_username }}"
|
||||
PEERTUBE_DB_PASSWORD: "{{ .crunchy_peertube_password }}"
|
||||
|
||||
dataFrom:
|
||||
- extract:
|
||||
|
@ -51,6 +54,12 @@ spec:
|
|||
- regexp:
|
||||
source: "(.*)"
|
||||
target: "peertube_$1"
|
||||
- extract:
|
||||
key: crunchybridge
|
||||
rewrite:
|
||||
- regexp:
|
||||
source: "(.*)"
|
||||
target: "crunchy_$1"
|
||||
data:
|
||||
- secretKey: mailgun_smtp_user
|
||||
remoteRef:
|
||||
|
|
|
@ -28,22 +28,6 @@ spec:
|
|||
repository: ghcr.io/jahanson/peertube-server
|
||||
tag: v5.2.1
|
||||
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:
|
||||
- secretRef:
|
||||
name: peertube-secret
|
||||
|
|
Reference in a new issue