Skip to content

Commit

Permalink
Updates for DB Host Name (#110)
Browse files Browse the repository at this point in the history
* Updates for DB Host Name

* Updated  Chart version numbers

Thanks @ksatya77 for the contribution!
  • Loading branch information
ksatya77 authored and mdebarros committed Nov 7, 2018
1 parent 2c69c7b commit 44d5c31
Show file tree
Hide file tree
Showing 36 changed files with 69 additions and 69 deletions.
2 changes: 1 addition & 1 deletion central/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Central Helm chart for Kubernetes
name: central
version: 3.8.4
version: 3.8.5
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
4 changes: 2 additions & 2 deletions central/requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ dependencies:
# repository: "file://../centralhub"
# condition: centralhub.enabled
- name: centralledger
version: 3.8.4
version: 3.8.5
repository: "file://../centralledger"
condition: centralledger.enabled
- name: centraldirectory
version: 3.4.2
repository: "file://../centraldirectory"
condition: centraldirectory.enabled
- name: centralsettlement
version: 3.8.0
version: 3.8.1
repository: "file://../centralsettlement"
condition: centralsettlement.enabled
16 changes: 8 additions & 8 deletions central/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -779,7 +779,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -1470,7 +1470,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -2160,7 +2160,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -2851,7 +2851,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -3541,7 +3541,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -4231,7 +4231,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -5934,7 +5934,7 @@ centralsettlement:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down
2 changes: 1 addition & 1 deletion centralhub/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Central-Hub Helm chart for Kubernetes
name: centralhub
version: 3.5.1
version: 3.5.2
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion centralhub/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# requirements.yaml
dependencies:
- name: centralledger
version: 3.8.4
version: 3.8.5
repository: "file://../centralledger"
condition: centralledger.enabled
14 changes: 7 additions & 7 deletions centralhub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -861,7 +861,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -1552,7 +1552,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -2242,7 +2242,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -2933,7 +2933,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -3623,7 +3623,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down Expand Up @@ -4313,7 +4313,7 @@ centralledger:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down
2 changes: 1 addition & 1 deletion centralledger/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Central-Ledger Helm chart for Kubernetes
name: centralledger
version: 3.8.4
version: 3.8.5
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-admin-transfer/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Central-Ledger Transfer Prepare Handler Helm chart for Kubernetes
name: centralledger-handler-admin-transfer
version: 3.8.4
version: 3.8.5
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- $dbHost := printf "%s-%s" .Release.Name .Values.config.db_host -}}
{{- $dbHost := (.Values.config.db_host | replace "$release_name" .Release.Name) }}
{{- $dbURL := printf "%s://%s:%s@%s:%.0f/%s" .Values.config.db_type .Values.config.db_user .Values.config.db_password $dbHost .Values.config.db_port .Values.config.db_database -}}
apiVersion: v1
kind: Secret
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-admin-transfer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ config:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-timeout/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Central-Ledger Timeout Handler Helm chart for Kubernetes
name: centralledger-handler-timeout
version: 3.8.4
version: 3.8.5
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-timeout/templates/secret.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- $dbHost := printf "%s-%s" .Release.Name .Values.config.db_host -}}
{{- $dbHost := (.Values.config.db_host | replace "$release_name" .Release.Name) }}
{{- $dbURL := printf "%s://%s:%s@%s:%.0f/%s" .Values.config.db_type .Values.config.db_user .Values.config.db_password $dbHost .Values.config.db_port .Values.config.db_database -}}
apiVersion: v1
kind: Secret
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-timeout/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ config:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-transfer-fulfil/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Central-Ledger Transfer Fulfil Handler Helm chart for Kubernetes
name: centralledger-handler-transfer-fulfil
version: 3.8.4
version: 3.8.5
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- $dbHost := printf "%s-%s" .Release.Name .Values.config.db_host -}}
{{- $dbHost := (.Values.config.db_host | replace "$release_name" .Release.Name) }}
{{- $dbURL := printf "%s://%s:%s@%s:%.0f/%s" .Values.config.db_type .Values.config.db_user .Values.config.db_password $dbHost .Values.config.db_port .Values.config.db_database -}}
apiVersion: v1
kind: Secret
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-transfer-fulfil/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ config:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-transfer-get/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Central-Ledger Get Transfer Handler Helm chart for Kubernetes
name: centralledger-handler-transfer-get
version: 3.8.4
version: 3.8.5
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- $dbHost := printf "%s-%s" .Release.Name .Values.config.db_host -}}
{{- $dbHost := (.Values.config.db_host | replace "$release_name" .Release.Name) }}
{{- $dbURL := printf "%s://%s:%s@%s:%.0f/%s" .Values.config.db_type .Values.config.db_user .Values.config.db_password $dbHost .Values.config.db_port .Values.config.db_database -}}
apiVersion: v1
kind: Secret
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-transfer-get/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ config:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-transfer-position/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Central-Ledger Transfer Position Handler Helm chart for Kubernetes
name: centralledger-handler-transfer-position
version: 3.8.4
version: 3.8.5
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- $dbHost := printf "%s-%s" .Release.Name .Values.config.db_host -}}
{{- $dbHost := (.Values.config.db_host | replace "$release_name" .Release.Name) }}
{{- $dbURL := printf "%s://%s:%s@%s:%.0f/%s" .Values.config.db_type .Values.config.db_user .Values.config.db_password $dbHost .Values.config.db_port .Values.config.db_database -}}
apiVersion: v1
kind: Secret
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-transfer-position/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ config:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-transfer-prepare/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Central-Ledger Transfer Prepare Handler Helm chart for Kubernetes
name: centralledger-handler-transfer-prepare
version: 3.8.4
version: 3.8.5
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- $dbHost := printf "%s-%s" .Release.Name .Values.config.db_host -}}
{{- $dbHost := (.Values.config.db_host | replace "$release_name" .Release.Name) }}
{{- $dbURL := printf "%s://%s:%s@%s:%.0f/%s" .Values.config.db_type .Values.config.db_user .Values.config.db_password $dbHost .Values.config.db_port .Values.config.db_database -}}
apiVersion: v1
kind: Secret
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-handler-transfer-prepare/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ config:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-service/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Central-Ledger Service Helm chart for Kubernetes
name: centralledger-service
version: 3.8.4
version: 3.8.5
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-service/templates/secret.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- $dbHost := printf "%s-%s" .Release.Name .Values.config.db_host -}}
{{- $dbHost := (.Values.config.db_host | replace "$release_name" .Release.Name) }}
{{- $dbURL := printf "%s://%s:%s@%s:%.0f/%s" .Values.config.db_type .Values.config.db_user .Values.config.db_password $dbHost .Values.config.db_port .Values.config.db_database -}}
apiVersion: v1
kind: Secret
Expand Down
2 changes: 1 addition & 1 deletion centralledger/chart-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ config:
db_type: 'mysql'
# db_driver can either be 'pg' or 'mysql'. Ensure the correct corresponding db_type above has been set.
db_driver: 'mysql'
db_host: centralledger-mysql
db_host: '$release_name-centralledger-mysql'
db_port: 3306
db_user: central_ledger
db_password: oyMxgZChuu
Expand Down
14 changes: 7 additions & 7 deletions centralledger/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
# requirements.yaml
dependencies:
- name: centralledger-service
version: 3.8.4
version: 3.8.5
repository: "file://./chart-service"
condition: centralledger-service.enabled
- name: centralledger-handler-transfer-prepare
version: 3.8.4
version: 3.8.5
repository: "file://./chart-handler-transfer-prepare"
condition: centralledger-handler-transfer-prepare.enabled
- name: centralledger-handler-transfer-position
version: 3.8.4
version: 3.8.5
repository: "file://./chart-handler-transfer-position"
condition: centralledger-handler-transfer-position.enabled
- name: centralledger-handler-transfer-get
version: 3.8.4
version: 3.8.5
repository: "file://./chart-handler-transfer-get"
condition: centralledger-handler-transfer-get.enabled
- name: centralledger-handler-transfer-fulfil
version: 3.8.4
version: 3.8.5
repository: "file://./chart-handler-transfer-fulfil"
condition: centralledger-handler-transfer-fulfil.enabled
- name: centralledger-handler-timeout
version: 3.8.4
version: 3.8.5
repository: "file://./chart-handler-timeout"
condition: centralledger-handler-timeout.enabled
- name: centralledger-handler-admin-transfer
version: 3.8.4
version: 3.8.5
repository: "file://./chart-handler-admin-transfer"
condition: centralledger-handler-transfer-get.enabled
- name: forensicloggingsidecar
Expand Down
Loading

0 comments on commit 44d5c31

Please sign in to comment.