add peertube db

This commit is contained in:
2025-08-23 00:12:11 -04:00
parent ed20403887
commit 42c45b89b1
3 changed files with 41 additions and 1 deletions

View File

@@ -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

View File

@@ -0,0 +1,9 @@
apiVersion: postgresql.cnpg.io/v1
kind: Database
metadata:
name: peertube
spec:
name: peertube
owner: peertube
cluster:
name: weyma-pgsql

View 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