From c9955d4c4cc3885f38c8137e4968d3fa7ade0c83 Mon Sep 17 00:00:00 2001 From: vijayg10 <33152110+vijayg10@users.noreply.github.com> Date: Wed, 4 Aug 2021 22:03:37 +0530 Subject: [PATCH] chore(config): added commented values to ttk values file (#444) * Added commented values to TTK values file * Upgraded TTK versions --- ml-testing-toolkit-cli/values.yaml | 2 +- ml-testing-toolkit/Chart.yaml | 2 +- ml-testing-toolkit/chart-backend/values.yaml | 2 +- ml-testing-toolkit/chart-frontend/values.yaml | 2 +- ml-testing-toolkit/values.yaml | 72 ++++++++++++++++++- mojaloop/Chart.yaml | 2 +- 6 files changed, 75 insertions(+), 7 deletions(-) diff --git a/ml-testing-toolkit-cli/values.yaml b/ml-testing-toolkit-cli/values.yaml index 392aeb315..5bc09e360 100644 --- a/ml-testing-toolkit-cli/values.yaml +++ b/ml-testing-toolkit-cli/values.yaml @@ -4,7 +4,7 @@ replicaCount: 1 image: repository: mojaloop/ml-testing-toolkit - tag: v13.2.1 + tag: v13.2.2 ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. ## ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod diff --git a/ml-testing-toolkit/Chart.yaml b/ml-testing-toolkit/Chart.yaml index 7190b04bc..a0ac478ef 100644 --- a/ml-testing-toolkit/Chart.yaml +++ b/ml-testing-toolkit/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: ml-testing-toolkit Helm chart for Kubernetes name: ml-testing-toolkit version: 12.2.0 -appVersion: "ml-testing-toolkit: v13.2.1 ml-testing-toolkit-ui: v13.2.1" +appVersion: "ml-testing-toolkit: v13.2.2 ml-testing-toolkit-ui: v13.2.2" home: http://mojaloop.io icon: http://mojaloop.io/images/logo.png sources: diff --git a/ml-testing-toolkit/chart-backend/values.yaml b/ml-testing-toolkit/chart-backend/values.yaml index 9382035ea..93436a3f7 100644 --- a/ml-testing-toolkit/chart-backend/values.yaml +++ b/ml-testing-toolkit/chart-backend/values.yaml @@ -32,7 +32,7 @@ dependencies: replicaCount: 1 image: repository: mojaloop/ml-testing-toolkit - tag: v13.2.1 + tag: v13.2.2 commandPersistence: '["sh", "-c", "cd /opt/mojaloop-testing-toolkit; if [ -d /opt/ttk-data ]; then if [ ! -d /opt/ttk-data/spec_files ]; then if [ -f /opt/default_config/user_config.json ]; then cp /opt/default_config/user_config.json spec_files; fi; if [ -f /opt/default_config/system_config.json ]; then cp /opt/default_config/system_config.json spec_files; fi; cp -pR spec_files /opt/ttk-data/spec_files; fi; mv spec_files spec_files_default; ln -s /opt/ttk-data/spec_files spec_files; else if [ -f /opt/default_config/user_config.json ]; then cp /opt/default_config/user_config.json spec_files; fi; if [ -f /opt/default_config/system_config.json ]; then cp /opt/default_config/system_config.json spec_files; fi; fi; npm run start;"]' command: '["sh", "-c", "cd /opt/mojaloop-testing-toolkit; if [ -f /opt/default_config/user_config.json ]; then cp /opt/default_config/user_config.json spec_files; fi; if [ -f /opt/default_config/system_config.json ]; then cp /opt/default_config/system_config.json spec_files; fi; npm run start;"]' diff --git a/ml-testing-toolkit/chart-frontend/values.yaml b/ml-testing-toolkit/chart-frontend/values.yaml index 7e3d756d1..67a8fb49b 100644 --- a/ml-testing-toolkit/chart-frontend/values.yaml +++ b/ml-testing-toolkit/chart-frontend/values.yaml @@ -4,7 +4,7 @@ replicaCount: 1 image: repository: mojaloop/ml-testing-toolkit-ui - tag: v13.2.1 + tag: v13.2.2 command: '["sh", "/usr/share/nginx/start.sh"]' ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. diff --git a/ml-testing-toolkit/values.yaml b/ml-testing-toolkit/values.yaml index 45c75b953..78391d42a 100644 --- a/ml-testing-toolkit/values.yaml +++ b/ml-testing-toolkit/values.yaml @@ -4,47 +4,111 @@ global: {} ml-testing-toolkit-backend: enabled: true + # ingress: + # enabled: true + # hosts: + # specApi: + # host: testing-toolkit-specapi.localdomain + # port: 5000 + # paths: ['/'] + # adminApi: + # host: testing-toolkit.localdomain + # port: 5050 + # paths: ['/api/', '/socket.io/'] config: system_config.json: HOSTING_ENABLED: false OAUTH: AUTH_ENABLED: false - CONNECTION_MANAGER_AUTH_ENABLED: false + CONNECTION_MANAGER: + AUTH_ENABLED: false + KEYCLOAK: + ENABLED: false + # # For Hosted Mode + # HOSTING_ENABLED: true + # OAUTH: + # AUTH_ENABLED: true + # CONNECTION_MANAGER: + # AUTH_ENABLED: true + # KEYCLOAK: + # ENABLED: true dependencies: keycloak: enabled: false + # # For Hosted Mode + # enabled: true embeddedCertificate: -----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDda1T6cyWogfG/xlUb3+gWZI0jsnlSGbf3PF89NCgS+n6HUJ0A2Ezmu/n9Gfkm8Rjyst914Vq9ebsueXHIc+Ad76+q3MASF1hRUTfnvH/v6rDguPvI6Jb/M9jGn5b2hglcg3B9Y7Tgv70bcV7oCweP68CPbIrTWjR9gyjmSHfYhwIDAQAB\n-----END PUBLIC KEY----- mongodb: enabled: false + # # For Hosted Mode + # enabled: true connectionManagerBackend: enabled: false + # # For Hosted Mode + # enabled: true ml-testing-toolkit-frontend: enabled: true + # ingress: + # enabled: true + # # Used to create an Ingress record. + # hosts: + # ui: + # host: testing-toolkit.localdomain + # port: 6060 + # paths: ['/'] config: AUTH_ENABLED: "FALSE" ## "TRUE" or "FALSE" + # API_BASE_URL: http://ttk-bankend-url + # # For Hosted Mode + # AUTH_ENABLED: "TRUE" connection-manager-backend: enabled: false + # # For Hosted Mode + # enabled: true config: AUTH_ENABLED: "DISABLED" ## TRUE or DISABLED + # # For Hosted Mode + # AUTH_ENABLED: "TRUE" dependencies: mysql: enabled: true keycloak: enabled: false + # # For Hosted Mode + # enabled: true embeddedCertificate: -----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDda1T6cyWogfG/xlUb3+gWZI0jsnlSGbf3PF89NCgS+n6HUJ0A2Ezmu/n9Gfkm8Rjyst914Vq9ebsueXHIc+Ad76+q3MASF1hRUTfnvH/v6rDguPvI6Jb/M9jGn5b2hglcg3B9Y7Tgv70bcV7oCweP68CPbIrTWjR9gyjmSHfYhwIDAQAB\n-----END PUBLIC KEY----- - + # ingress: + # enabled: true + # hosts: + # connection-manager.localdomain: + # port: 5061 + # paths: ['/api/'] + connection-manager-frontend: enabled: false + # # For Hosted Mode + # enabled: true config: AUTH_ENABLED: "FALSE" ## TRUE or FALSE + # # For Hosted Mode + # API_BASE_URL: http://connection-manager.localdomain + # AUTH_ENABLED: "TRUE" + # ingress: + # enabled: true + # hosts: + # connection-manager.localdomain: + # port: 5060 + # paths: ['/'] mysql: ## repo and documentation https://github.com/helm/charts/tree/master/stable/percona-xtradb-cluster ## disable when connection-manager-backend is disabled enabled: false + # # For Hosted Mode + # enabled: true image: repository: "percona/percona-xtradb-cluster" tag: "5.7.19" @@ -109,6 +173,8 @@ mongodb: ## repo and documentation https://github.com/bitnami/charts/tree/master/bitnami/mysql enabled: false + # # For Hosted Mode + # enabled: true nameOverride: ttk-mongodb @@ -188,6 +254,8 @@ keycloak: ## check the documentation in the repo for additional details enabled: false + # # For Hosted Mode + # enabled: true image: repository: quay.io/keycloak/keycloak tag: "11.0.2" diff --git a/mojaloop/Chart.yaml b/mojaloop/Chart.yaml index 15d4534e4..1cbd1ca01 100644 --- a/mojaloop/Chart.yaml +++ b/mojaloop/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Mojaloop Helm chart for Kubernetes name: mojaloop version: 13.0.1 -appVersion: "ml-api-adapter: v11.1.6; central-ledger: v13.12.1; account-lookup-service: v11.7.0; quoting-service: v12.0.6; central-settlement: v13.4.1; central-event-processor: v11.0.2; bulk-api-adapter: v11.1.4; email-notifier: v11.0.2; als-oracle-pathfinder: v11.0.0; transaction-requests-service: v11.1.5; finance-portal-ui: v10.4.3; finance-portal-backend-service: v15.0.2; settlement-management: v11.0.0; operator-settlement: v11.0.0; simulator: v11.1.2; mojaloop-simulator: v11.4.3; sdk-scheme-adapter: v11.17.1; ml-testing-toolkit: v13.2.1; ml-testing-toolkit-ui: v13.2.1;" +appVersion: "ml-api-adapter: v11.1.6; central-ledger: v13.12.1; account-lookup-service: v11.7.0; quoting-service: v12.0.6; central-settlement: v13.4.1; central-event-processor: v11.0.2; bulk-api-adapter: v11.1.4; email-notifier: v11.0.2; als-oracle-pathfinder: v11.0.0; transaction-requests-service: v11.1.5; finance-portal-ui: v10.4.3; finance-portal-backend-service: v15.0.2; settlement-management: v11.0.0; operator-settlement: v11.0.0; simulator: v11.1.2; mojaloop-simulator: v11.4.3; sdk-scheme-adapter: v11.17.1; ml-testing-toolkit: v13.2.2; ml-testing-toolkit-ui: v13.2.2;" home: http://mojaloop.io icon: http://mojaloop.io/images/logo.png sources: