Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a GovStack chart #145

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions helm/g2p-sandbox-fynarfin-SIT/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ appVersion: 1.16.0

dependencies:
- name: ph-ee-g2psandbox
repository: https://fynarfin.io/images/ph-ee-g2psandbox-0.0.0
version: 0.0.0
repository: https://fynarfin.io/images/ph-ee-g2psandbox-1.2.0
version: 1.2.0
12 changes: 12 additions & 0 deletions helm/govstack-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v2
name: ph-ee-govstack
description: PaymentHub GovStack Edition

type: application
version: 1.0.0
appVersion: 1.0.0

dependencies:
- name: ph-ee-g2psandbox
repository: https://fynarfin.io/images/ph-ee-g2psandbox-0.0.0
version: 0.0.0
19 changes: 19 additions & 0 deletions helm/govstack-chart/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Helm Upgrade command ---->
helm upgrade -f helm/govstack-chart/values.yaml g2p-sandbox helm/govstack-chart --install --create-namespace --namespace paymenthub

Known Issue
Migration script race condition Operation app startup issue work around
1. port forward ops-mysql -3307
2. connect the mysql with root passwrod
3. delete tenants
4. Run the SQL scripts which didn’t run successfully

CREATE DATABASE `tenants`;
GRANT ALL PRIVILEGES ON `tenants`.* TO 'mifos';
CREATE DATABASE `rhino`;
CREATE DATABASE `gorilla`;
GRANT ALL PRIVILEGES ON `rhino`.* TO 'mifos';
GRANT ALL PRIVILEGES ON `gorilla`.* TO 'mifos';
GRANT ALL ON *.* TO 'root'@'%';

5. restart ops-app pod
9 changes: 9 additions & 0 deletions helm/govstack-chart/config/application-bb.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
store.local.interop.host=https://rhino.mifos.g2pconnect.io
store.local.customer.host=https://rhino.mifos.g2pconnect.io
zeebe.broker.contactpoint=g2p-sandbox-zeebe-gateway:26500

security.oauth2.resource.jwt.key-uri=http://ops-bk.mifos.g2pconnect.io/oauth/token_key
rest.authorization.enabled=false
rest.authorization.host=http://ops-bk.mifos.g2pconnect.io

dfspids=rhino, gorilla
2 changes: 2 additions & 0 deletions helm/govstack-chart/config/application-fin12.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ams.localenabled=true
zeebe.broker.contactpoint=g2p-sandbox-zeebe-gateway:26500
6 changes: 6 additions & 0 deletions helm/govstack-chart/config/application-tenants.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bpmns.tenants[0].id= "lion"
bpmns.tenants[0].flows.payment-transfer= "mock_payment_transfer-{dfspid}"
bpmns.tenants[1].id= "rhino"
bpmns.tenants[1].flows.payment-transfer= "MockPayerFundTransfer-{dfspid}"
bpmns.tenants[2].id= "gorilla"
bpmns.tenants[2].flows.payment-transfer= "PayerFundTransfer-{dfspid}"
6 changes: 6 additions & 0 deletions helm/govstack-chart/templates/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: ph-ee-config
data:
{{ (.Files.Glob "config/**.properties").AsConfig | nindent 2 }}
133 changes: 133 additions & 0 deletions helm/govstack-chart/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
ph-ee-g2psandbox:
ph-ee-engine:

zeebe-cluster-helm:
enabled: true

elasticsearch:
enabled: false
kibana:
enabled: true

zeebe-operate-helm:
ingress:
enabled: false

kibana:
ingress:
enabled: false

operations:

ph_ee_connector_ams_mifos:
enabled: true
imageTag: v1.2.2
ingress:
enabled: false

ph_ee_connector_mojaloop:
enabled: true
imageTag: "830df54849"
ingress:
enabled: false

# kafka:

channel:
enabled: true
operations:
url: "http://ops-bk.sandbox.fynarfin.io/api/v1"
server:
ssl:
keyPassword: "password"
keyStorePassword: "password"
ingress:
enabled: false

operations_app:
enabled: true
tenants: "rhino,gorilla"
ingress:
enabled: false

operations_web:
enabled: true
ingress:
enabled: false

ph_ee_connector_gsma:
enabled: true
ingress:
enabled: false

ph_ee_connector_slcb:
enabled: false

mpesa:
enabled: false

roster_connector:
enabled: false

paygops_connector:
enabled: false

notifications:
enabled: true
NOTIFICATION_FAILURE_ENABLED: "false"
ingress:
enabled: false

connector_bulk:
enabled: true
tenants: "rhino,gorilla"
aws:
region: "us-east-2"
access_key: "AKIAX32JM37TZOJ5AKFB"
secret_key: "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"
operations_app:
contactpoint: "https://ops-bk.sandbox.fynarfin.io/"
endpoints:
batch_transaction: "/api/v1/batch/transactions"
ingress:
enabled: false

zeebe_ops:
enabled: true
tenants: "rhino,gorilla"
ingress:
enabled: false

messagegateway:
enabled: true
secret:
value:
api_key: "eKiC1_JWdKy7eaTGQFHxXXjXjacr60W9Zntl"
project_id: "PJ5ff552ce01d2978c"
ingress:
enabled: false

importer_es:
enabled: true

importer_rdbms:
enabled: true

wildcardhostname: ""
tls: ""

keycloak:
enabled: false
ingress:
enabled: false

kong:
enabled: false
ingress:
enabled: false

redis:
enabled: true
replica:
replicaCount: 0