Add ente-photos deployment

This commit is contained in:
Ruben Hensen
2024-09-12 14:08:45 +02:00
parent b31f73b809
commit 2ee6a942f6
6 changed files with 159 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: template
spec:
refreshInterval: "15s"
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
target:
name: ente-photos-config
template:
engineVersion: v2
data:
config: |
db:
host: postgres
port: 5432
name: ente_db
user: pguser
password: "{{ .pgpass }}"
s3:
are_local_buckets: false
ente-photos:
key: ente-photos-user
secret: "{{ .ente-pass }}"
endpoint: minio.hensen.io:3200
region: nl
bucket: ente-photos
data:
- secretKey: pgpass
remoteRef:
key: ente-photos-postgres
property: password
- secretKey: ente-pass
remoteRef:
key: minio-ente-photos-user
property: password