File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ maintainers:
15151616sources :
1717 - https://github.com/devtron-labs/charts
18- version : 0.2.1
19- appVersion : " 0.2.1 "
18+ version : 0.2.2
19+ appVersion : " 0.2.2 "
2020dependencies :
2121- name : clair
2222 version : " 0.x.x"
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ metadata:
3030{{ toYaml .labels | indent 4 }}
3131{{- end}}
3232data :
33+ {{- if $.Values.global.dbConfig }}
34+ {{ toYaml $.Values.global.dbConfig | indent 2 }}
35+ {{- end}}
3336{{- if .configs}}
3437{{ toYaml .configs | indent 2 }}
3538---
@@ -148,10 +151,10 @@ spec:
148151 envFrom :
149152 - configMapRef :
150153 name : image-scanner-cm
151- - configMapRef :
152- name : devtron-common-cm
153154 - secretRef :
154155 name : image-scanner-secret
156+ - configMapRef :
157+ name : devtron-common-cm
155158{{- if .resources }}
156159 resources :
157160{{ toYaml .resources | indent 12 }}
Original file line number Diff line number Diff line change @@ -10,17 +10,19 @@ global:
1010 # effect: "NoSchedule"
1111 # imagePullSecrets:
1212 # - name: yoursecret
13+ dbConfig :
14+ PG_ADDR : postgresql-postgresql.devtroncd
15+ PG_PORT : " 5432"
16+ PG_USER : postgres
17+ PG_DATABASE : orchestrator
18+
1319imageScanner :
1420 healthPort : 8080
1521 configs :
1622 CLAIR_ADDR : clair.devtroncd:6060
1723 CLIENT_ID : client-2
1824 NATS_SERVER_HOST : nats://devtron-nats.devtroncd:4222
19- PG_ADDR : postgresql-postgresql.devtroncd
20- PG_DATABASE : orchestrator
2125 PG_LOG_QUERY : " false"
22- PG_PORT : " 5432"
23- PG_USER : postgres
2426 # secrets:
2527 # PG_PASSWORD: "devtron"
2628
@@ -36,6 +38,8 @@ imageScanner:
3638clair :
3739 enabled : false
3840 fullnameOverride : clair
41+ config :
42+ PG_DATABASE : clairv4
3943 extraEnv :
4044 - name : CLAIR_CONF
4145 value : /etc/clair/config.yaml
You can’t perform that action at this time.
0 commit comments