diff --git a/helm/g2p-sandbox-fynarfin-SIT/Chart.yaml b/helm/g2p-sandbox-fynarfin-SIT/Chart.yaml index 5d4ed5b5..6a3e1db0 100644 --- a/helm/g2p-sandbox-fynarfin-SIT/Chart.yaml +++ b/helm/g2p-sandbox-fynarfin-SIT/Chart.yaml @@ -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 diff --git a/helm/govstack-chart/Chart.yaml b/helm/govstack-chart/Chart.yaml new file mode 100644 index 00000000..c91f619f --- /dev/null +++ b/helm/govstack-chart/Chart.yaml @@ -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 diff --git a/helm/govstack-chart/README.md b/helm/govstack-chart/README.md new file mode 100644 index 00000000..30193dd8 --- /dev/null +++ b/helm/govstack-chart/README.md @@ -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 \ No newline at end of file diff --git a/helm/govstack-chart/config/application-bb.properties b/helm/govstack-chart/config/application-bb.properties new file mode 100644 index 00000000..247d5028 --- /dev/null +++ b/helm/govstack-chart/config/application-bb.properties @@ -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 diff --git a/helm/govstack-chart/config/application-fin12.properties b/helm/govstack-chart/config/application-fin12.properties new file mode 100644 index 00000000..bdd51172 --- /dev/null +++ b/helm/govstack-chart/config/application-fin12.properties @@ -0,0 +1,2 @@ +ams.localenabled=true +zeebe.broker.contactpoint=g2p-sandbox-zeebe-gateway:26500 \ No newline at end of file diff --git a/helm/govstack-chart/config/application-tenants.properties b/helm/govstack-chart/config/application-tenants.properties new file mode 100644 index 00000000..dc9bc2ed --- /dev/null +++ b/helm/govstack-chart/config/application-tenants.properties @@ -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}" \ No newline at end of file diff --git a/helm/govstack-chart/templates/config.yaml b/helm/govstack-chart/templates/config.yaml new file mode 100644 index 00000000..98f65ae9 --- /dev/null +++ b/helm/govstack-chart/templates/config.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: ph-ee-config +data: +{{ (.Files.Glob "config/**.properties").AsConfig | nindent 2 }} diff --git a/helm/govstack-chart/values.yaml b/helm/govstack-chart/values.yaml new file mode 100644 index 00000000..6f833914 --- /dev/null +++ b/helm/govstack-chart/values.yaml @@ -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 + \ No newline at end of file