Add secrets through env

This commit is contained in:
Ruben Hensen
2024-09-12 16:03:28 +02:00
parent 364eff0ebe
commit 6a28f3940c
2 changed files with 17 additions and 33 deletions
+1 -22
View File
@@ -9,33 +9,12 @@ spec:
kind: ClusterSecretStore
target:
name: ente-photos-config
template:
engineVersion: v2
data:
credentials.yaml: |
db:
host: helm-postgresql
port: 5432
name: ente_db
user: pguser
password: "{{ .pgpass }}"
sslmode: disable
s3:
are_local_buckets: false
ente-photos:
key: ente-photos-user
secret: {{ .entepass }}
endpoint: minio.hensen.io:3200
region: nl
bucket: ente-photos
data:
- secretKey: pgpass
remoteRef:
key: ente-photos-postgres
property: password
- secretKey: entepass
- secretKey: miniopass
remoteRef:
key: minio-ente-photos-user
property: password