File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
helm-chart/eoapi-notifier Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1212 {{- range .Values.config.sources}}
1313 - type: {{.type}}
1414 config:
15+ {{- if and (eq .type "pgstac") .config.connection.existingSecret}}
16+ {{- $config := omit .config "connection"}}
17+ {{- toYaml $config | nindent 10}}
18+ {{- else}}
1519 {{- toYaml .config | nindent 10}}
20+ {{- end}}
1621 {{- end}}
1722
1823 outputs:
Original file line number Diff line number Diff line change @@ -57,6 +57,14 @@ config:
5757 host : " host"
5858 port : " port"
5959 database : " dbname"
60+
61+ # Alternative: Direct connection config (less secure for passwords)
62+ # host: "localhost"
63+ # port: 5432
64+ # database: "pgstac"
65+ # user: "postgres"
66+ # password: "your-password"
67+
6068 # Optional pgSTAC settings:
6169 # channel: "pgstac_items_change"
6270 # tables: ["items", "collections"]
You can’t perform that action at this time.
0 commit comments