add peertube db
This commit is contained in:
@@ -47,4 +47,10 @@ spec:
|
|||||||
comment: gitea
|
comment: gitea
|
||||||
login: true
|
login: true
|
||||||
passwordSecret:
|
passwordSecret:
|
||||||
name: gitea-auth
|
name: gitea-auth
|
||||||
|
- name: peertube
|
||||||
|
ensure: present
|
||||||
|
comment: peertube
|
||||||
|
login: true
|
||||||
|
passwordSecret:
|
||||||
|
name: peertube-auth
|
||||||
9
postgres/config/databases/peertube.yaml
Normal file
9
postgres/config/databases/peertube.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
|
kind: Database
|
||||||
|
metadata:
|
||||||
|
name: peertube
|
||||||
|
spec:
|
||||||
|
name: peertube
|
||||||
|
owner: peertube
|
||||||
|
cluster:
|
||||||
|
name: weyma-pgsql
|
||||||
25
postgres/config/peertube_auth.yaml
Normal file
25
postgres/config/peertube_auth.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: peertube-auth
|
||||||
|
spec:
|
||||||
|
data:
|
||||||
|
- remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: cloudnativepg
|
||||||
|
metadataPolicy: None
|
||||||
|
property: peertube_pw
|
||||||
|
secretKey: password
|
||||||
|
refreshInterval: 1h
|
||||||
|
secretStoreRef:
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
name: weyma-vault
|
||||||
|
target:
|
||||||
|
template:
|
||||||
|
data:
|
||||||
|
username: peertube
|
||||||
|
password: "{{ .password }}"
|
||||||
|
creationPolicy: Owner
|
||||||
|
deletionPolicy: Retain
|
||||||
|
name: peertube-auth
|
||||||
Reference in New Issue
Block a user