mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-19 19:12:55 +02:00
Add secrets through env
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user