File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
infra/manifests/infra-secrets Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,15 @@ kestra:
4646 type : local
4747 local :
4848 base-path : " /app/storage"
49+
50+ # Configurazione datasource (senza credenziali)
51+ datasources :
52+ postgres :
53+ url : jdbc:postgresql://192.168.0.30:5432/kestra_db
54+ driver-class-name : org.postgresql.Driver
55+ dialect : POSTGRES
4956
50- # Carica le credenziali DB da secret esterno
57+ # Carica le credenziali DB da secret esterno (username + password)
5158 secrets :
5259 - name : kestra-db-secret
5360 key : application-secrets.yml
Original file line number Diff line number Diff line change 11---
2- # Secret per database credentials (montato come file di configurazione )
2+ # Secret per database credentials (username + password )
33apiVersion : external-secrets.io/v1
44kind : ExternalSecret
55metadata :
@@ -16,15 +16,12 @@ spec:
1616 template :
1717 engineVersion : v2
1818 data :
19- # File con SOLO le credenziali del database
19+ # File con SOLO username e password (si fa merge con configurations.application)
2020 application-secrets.yml : |
21- kestra:
22- datasources:
23- postgres:
24- url: jdbc:postgresql://192.168.0.30:5432/kestra_db
25- driver-class-name: org.postgresql.Driver
26- username: kestra_user
27- password: {{ .postgres_password }}
21+ datasources:
22+ postgres:
23+ username: kestra_user
24+ password: {{ .postgres_password }}
2825 data :
2926 - secretKey : postgres_password
3027 remoteRef :
You can’t perform that action at this time.
0 commit comments