Skip to content

Commit 864facd

Browse files
authored
BAH-4117 | Add. Environment for ABDM V3 (#20)
* BAH-4117 | Add. Environment for ABDM v3 * BAH-4117 | Fix. Ingress creation failure when crater is not enabled * BAH-4117 | Add. Reports service on ABDM V3 Environment * BAH-4117 | Fix. Connection String for Otp Service * BAH-4117 | Fix. Database URL for hip-atomfeed service * BAH-4117 | Fix. Database Host for hip-atomfeed service * BAH-4117 | Fix. Set OpenMRS connection pool size * BAH-4117 | Refactor. Use v3 image tags for abdm v3 environment
1 parent 7d4c158 commit 864facd

File tree

4 files changed

+143
-0
lines changed

4 files changed

+143
-0
lines changed

.github/workflows/deploy.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ on:
2121
default: dev
2222
options:
2323
- dev
24+
- abdmv3
2425
- qa
2526
- demo
2627
- performance

templates/ingress.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ spec:
101101
number: 80
102102
{{- end }}
103103

104+
{{- if .Values.crater.enabled }}
104105
- host: payments-{{ .Values.ingress.host }}
105106
http:
106107
paths:
@@ -113,6 +114,7 @@ spec:
113114
port:
114115
number: 80
115116
{{- end }}
117+
{{- end }}
116118
---
117119

118120
apiVersion: networking.k8s.io/v1

values/abdmv3.yaml

+139
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
global:
2+
storageClass: bahmni-efs-sc
3+
nodeSelector:
4+
eks.amazonaws.com/nodegroup: nonprod
5+
TZ: "Asia/Kolkata"
6+
7+
metadata:
8+
labels:
9+
environment: abdmv3
10+
ingress:
11+
PROXY_BODY_SIZE: "7m"
12+
ABDM_PROXY_BODY_SIZE: "30m"
13+
14+
openmrs:
15+
enabled: true
16+
config:
17+
LUCENE_MATCH_TYPE: "START"
18+
OMRS_C3P0_MAX_SIZE: 20
19+
bahmni-web:
20+
enabled: true
21+
bahmni-lab:
22+
enabled: false
23+
crater:
24+
enabled: false
25+
config:
26+
AUTO_INSTALL: "true"
27+
ADMIN_NAME: Super Man
28+
COMPANY_NAME: Bahmni
29+
COMPANY_SLUG: bahmni
30+
COUNTRY_ID: 101
31+
CRATER_DEFAULT_CURRENCY: INR
32+
secrets:
33+
ADMIN_EMAIL: "superman@bahmni.org"
34+
reports:
35+
enabled: true
36+
config:
37+
OPENMRS_HOST: "openmrs"
38+
hiu:
39+
enabled: true
40+
config:
41+
POSTGRES_HOST: "bahmni-abdmv3-postgresql"
42+
RABBITMQ_HOST: "bahmni-abdmv3-rabbitmq"
43+
HIU_ID: "Bahmni"
44+
HIU_NAME: "Bahmni"
45+
46+
hiu-db:
47+
enabled: true
48+
config:
49+
JAVA_TOOL_OPTIONS: "-Djdbc.url=jdbc:postgresql://bahmni-abdmv3-postgresql:5432/ -Djdbc.username=postgres -Djdbc.password=welcome -Djdbc.database=health_information_user"
50+
hiu-ui:
51+
enabled: true
52+
config:
53+
POSTGRES_HOST: bahmni-abdmv3-postgresql
54+
RABBITMQ_HOST: bahmni-abdmv3-rabbitmq
55+
hip:
56+
enabled: true
57+
image:
58+
tag: "v3"
59+
config:
60+
CONNECTION_STRING: "Host=bahmni-abdmv3-postgresql;Port=5432;Username=postgres;Password=welcome;Database=hipservice"
61+
RABBITMQ_HOST: "bahmni-abdmv3-rabbitmq"
62+
BAHMNI_ID: "Bahmni"
63+
otp-service:
64+
enabled: true
65+
config:
66+
CONNECTION_STRING: "Host=bahmni-abdmv3-postgresql;Port=5432;Username=postgres;Password=welcome;Database=otpservice;"
67+
hip-atomfeed:
68+
enabled: true
69+
config:
70+
DATABASE_URL: "jdbc:postgresql://bahmni-abdmv3-postgresql:5432/"
71+
72+
postgresql:
73+
enabled: true
74+
volumePermissions:
75+
enabled: true
76+
primary:
77+
persistence:
78+
subPath: abdmv3
79+
storageClass: bahmni-efs-sc
80+
accessModes:
81+
- ReadWriteMany
82+
nodeSelector:
83+
eks.amazonaws.com/nodegroup: nonprod
84+
image:
85+
tag: 14-debian-11
86+
87+
rabbitmq:
88+
enabled: true
89+
auth:
90+
erlangCookie: bahmni
91+
persistence:
92+
storageClass: bahmni-efs-sc
93+
accessModes:
94+
- ReadWriteMany
95+
nodeSelector:
96+
eks.amazonaws.com/nodegroup: nonprod
97+
image:
98+
repository: rabbitmq
99+
tag: alpine
100+
101+
patient-documents:
102+
enabled: true
103+
config:
104+
OPENMRS_HOST: "openmrs"
105+
106+
crater-atomfeed:
107+
enabled: false
108+
metadata:
109+
labels:
110+
environment: abdmv3
111+
appointments:
112+
enabled: true
113+
114+
implementer-interface:
115+
enabled: false
116+
117+
abha-verification:
118+
enabled: true
119+
image:
120+
tag: "v3"
121+
122+
bahmni-metabase:
123+
enabled: false
124+
config:
125+
MB_DB_TYPE: postgres
126+
MB_DB_DBNAME: 'metabase'
127+
MB_DB_PORT: 5432
128+
MART_DB_NAME: martdb
129+
secrets:
130+
MB_ADMIN_FIRST_NAME: 'Admin'
131+
MB_DB_HOST: 'bahmni-abdmv3-postgresql'
132+
MART_DB_HOST: 'bahmni-abdmv3-postgresql'
133+
134+
bahmni-mart:
135+
enabled: false
136+
config:
137+
MART_DB_NAME: martdb
138+
secrets:
139+
MART_DB_HOST: "bahmni-abdmv3-postgresql"

values/dev.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ openmrs:
1515
enabled: true
1616
config:
1717
LUCENE_MATCH_TYPE: "START"
18+
OMRS_C3P0_MAX_SIZE: 20
1819
bahmni-web:
1920
enabled: true
2021
bahmni-lab:

0 commit comments

Comments
 (0)