Skip to content

Commit c8b6605

Browse files
author
Somanath Hugar
committed
Create a GovStack chart
1 parent f7a03ed commit c8b6605

7 files changed

Lines changed: 187 additions & 0 deletions

File tree

helm/govstack-chart/Chart.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v2
2+
name: ph-ee-govstack
3+
description: PaymentHub GovStack Edition
4+
5+
type: application
6+
version: 1.0.0
7+
appVersion: 1.0.0
8+
9+
dependencies:
10+
- name: ph-ee-g2psandbox
11+
repository: https://fynarfin.io/images/ph-ee-g2psandbox-0.0.0
12+
version: 0.0.0

helm/govstack-chart/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Helm Upgrade command ---->
2+
helm upgrade -f helm/govstack-chart/values.yaml g2p-sandbox helm/govstack-chart --install --create-namespace --namespace paymenthub
3+
4+
Known Issue
5+
Migration script race condition Operation app startup issue work around
6+
1. port forward ops-mysql -3307
7+
2. connect the mysql with root passwrod
8+
3. delete tenants
9+
4. Run the SQL scripts which didn’t run successfully
10+
11+
CREATE DATABASE `tenants`;
12+
GRANT ALL PRIVILEGES ON `tenants`.* TO 'mifos';
13+
CREATE DATABASE `rhino`;
14+
CREATE DATABASE `gorilla`;
15+
GRANT ALL PRIVILEGES ON `rhino`.* TO 'mifos';
16+
GRANT ALL PRIVILEGES ON `gorilla`.* TO 'mifos';
17+
GRANT ALL ON *.* TO 'root'@'%';
18+
19+
5. restart ops-app pod
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
store.local.interop.host=https://rhino.mifos.g2pconnect.io
2+
store.local.customer.host=https://rhino.mifos.g2pconnect.io
3+
zeebe.broker.contactpoint=g2p-sandbox-zeebe-gateway:26500
4+
5+
security.oauth2.resource.jwt.key-uri=http://ops-bk.mifos.g2pconnect.io/oauth/token_key
6+
rest.authorization.enabled=false
7+
rest.authorization.host=http://ops-bk.mifos.g2pconnect.io
8+
9+
dfspids=rhino, gorilla
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ams.localenabled=true
2+
zeebe.broker.contactpoint=g2p-sandbox-zeebe-gateway:26500
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
bpmns.tenants[0].id= "lion"
2+
bpmns.tenants[0].flows.payment-transfer= "mock_payment_transfer-{dfspid}"
3+
bpmns.tenants[1].id= "rhino"
4+
bpmns.tenants[1].flows.payment-transfer= "MockPayerFundTransfer-{dfspid}"
5+
bpmns.tenants[2].id= "gorilla"
6+
bpmns.tenants[2].flows.payment-transfer= "PayerFundTransfer-{dfspid}"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: ph-ee-config
5+
data:
6+
{{ (.Files.Glob "config/**.properties").AsConfig | nindent 2 }}

helm/govstack-chart/values.yaml

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
ph-ee-g2psandbox:
2+
ph-ee-engine:
3+
4+
zeebe-cluster-helm:
5+
enabled: true
6+
7+
elasticsearch:
8+
enabled: false
9+
kibana:
10+
enabled: true
11+
12+
zeebe-operate-helm:
13+
ingress:
14+
enabled: false
15+
16+
kibana:
17+
ingress:
18+
enabled: false
19+
20+
operations:
21+
22+
ph_ee_connector_ams_mifos:
23+
enabled: true
24+
imageTag: v1.2.2
25+
ingress:
26+
enabled: false
27+
28+
ph_ee_connector_mojaloop:
29+
enabled: true
30+
imageTag: "830df54849"
31+
ingress:
32+
enabled: false
33+
34+
# kafka:
35+
36+
channel:
37+
enabled: true
38+
operations:
39+
url: "http://ops-bk.sandbox.fynarfin.io/api/v1"
40+
server:
41+
ssl:
42+
keyPassword: "password"
43+
keyStorePassword: "password"
44+
ingress:
45+
enabled: false
46+
47+
operations_app:
48+
enabled: true
49+
tenants: "rhino,gorilla"
50+
ingress:
51+
enabled: false
52+
53+
operations_web:
54+
enabled: true
55+
ingress:
56+
enabled: false
57+
58+
ph_ee_connector_gsma:
59+
enabled: true
60+
ingress:
61+
enabled: false
62+
63+
ph_ee_connector_slcb:
64+
enabled: false
65+
66+
mpesa:
67+
enabled: false
68+
69+
roster_connector:
70+
enabled: false
71+
72+
paygops_connector:
73+
enabled: false
74+
75+
notifications:
76+
enabled: true
77+
NOTIFICATION_FAILURE_ENABLED: "false"
78+
ingress:
79+
enabled: false
80+
81+
connector_bulk:
82+
enabled: true
83+
tenants: "rhino,gorilla"
84+
aws:
85+
region: "us-east-2"
86+
access_key: "AKIAX32JM37TZOJ5AKFB"
87+
secret_key: "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"
88+
operations_app:
89+
contactpoint: "https://ops-bk.sandbox.fynarfin.io/"
90+
endpoints:
91+
batch_transaction: "/api/v1/batch/transactions"
92+
ingress:
93+
enabled: false
94+
95+
zeebe_ops:
96+
enabled: true
97+
tenants: "rhino,gorilla"
98+
ingress:
99+
enabled: false
100+
101+
messagegateway:
102+
enabled: true
103+
secret:
104+
value:
105+
api_key: "eKiC1_JWdKy7eaTGQFHxXXjXjacr60W9Zntl"
106+
project_id: "PJ5ff552ce01d2978c"
107+
ingress:
108+
enabled: false
109+
110+
importer_es:
111+
enabled: true
112+
113+
importer_rdbms:
114+
enabled: true
115+
116+
wildcardhostname: ""
117+
tls: ""
118+
119+
keycloak:
120+
enabled: false
121+
ingress:
122+
enabled: false
123+
124+
kong:
125+
enabled: false
126+
ingress:
127+
enabled: false
128+
129+
redis:
130+
enabled: true
131+
replica:
132+
replicaCount: 0
133+

0 commit comments

Comments
 (0)