@@ -2,24 +2,16 @@ introspection_addr: {{ .Values.config.introspection_addr }}
22http_listen_addr: { { .Values.config.http_listen_addr } }
33log_level: { { .Values.config.log_level } }
44indexer:
5- { {- if .Values.config.postgresPassword } }
6- connstring: "host={ { .Values.config.postgresHost } } port={ { .Values.config.postgresPort } } dbname={ { .Values.config.postgresdbname } } user={ { .Values.config.postgresUser } } password={ { .Values.config.postgresPassword } } sslmode=disable"
7- { {- else } }
8- connstring: "host={ { .Values.config.postgresHost } } port={ { .Values.config.postgresPort } } dbname={ { .Values.config.postgresdbname } } user={ { .Values.config.postgresUser } } sslmode=disable"
9- { {- end } }
5+ { {- include " clair.dbconnstring" . } }
106 scanlock_retry: { { .Values.config.indexer.scanlock_retry } }
117 layer_scan_concurrency: { { .Values.config.indexer.layer_scan_concurrency } }
128 migrations: { { .Values.config.indexer.migrations } }
139 { {- if .Values.config.indexer.extraConfig } }
1410 { {- toYaml .Values.config.indexer.extraConfig | nindent 2 } }
1511 { {- end } }
1612matcher:
13+ { {- include " clair.dbconnstring" . } }
1714 indexer_addr: "{ { .Values.config.matcher.indexer_addr } }"
18- { {- if .Values.config.postgresPassword } }
19- connstring: "host={ { .Values.config.postgresHost } } port={ { .Values.config.postgresPort } } dbname={ { .Values.config.postgresdbname } } user={ { .Values.config.postgresUser } } password={ { .Values.config.postgresPassword } } sslmode=disable"
20- { {- else } }
21- connstring: "host={ { .Values.config.postgresHost } } port={ { .Values.config.postgresPort } } dbname={ { .Values.config.postgresdbname } } user={ { .Values.config.postgresUser } } sslmode=disable"
22- { {- end } }
2315 max_conn_pool: { { .Values.config.matcher.max_conn_pool } }
2416 run: ""
2517 migrations: { { .Values.config.matcher.migrations } }
@@ -31,11 +23,7 @@ matcher:
3123 { {- toYaml .Values.config.matcher.extraConfig | nindent 2 } }
3224 { {- end } }
3325notifier:
34- { {- if .Values.config.postgresPassword } }
35- connstring: "host={ { .Values.config.postgresHost } } port={ { .Values.config.postgresPort } } dbname={ { .Values.config.postgresdbname } } user={ { .Values.config.postgresUser } } password={ { .Values.config.postgresPassword } } sslmode=disable"
36- { {- else } }
37- connstring: "host={ { .Values.config.postgresHost } } port={ { .Values.config.postgresPort } } dbname={ { .Values.config.postgresdbname } } user={ { .Values.config.postgresUser } } sslmode=disable"
38- { {- end } }
26+ { {- include " clair.dbconnstring" . } }
3927 delivery_interval: { { .Values.config.notifier.delivery_interval } }
4028 poll_interval: { { .Values.config.notifier.poll_interval } }
4129 migrations: { { .Values.config.notifier.migrations } }
0 commit comments