Description:
Currently WSO2 Open Banking Kubernetes artifacts support only one specification (i.e Berlin). In future there might be a requirement for the K8s artifacts to support multiple specifications.
Here we use all the specification related scripts inside relevant folders such as mysql-ob-berlin and mysql-ob-uk. These chart folders contains a MySQL base chart inside their charts directory. Then we package both these specification based database charts inside common mysql-ob chart. Relevant conditions in the requirements.yaml file in mysql-ob chart will determine which sub-chart (either mysql-ob-berlin or mysql-ob-uk) to deploy in the deployment time.
Description: Currently WSO2 Open Banking Kubernetes artifacts support only one specification (i.e Berlin). In future there might be a requirement for the K8s artifacts to support multiple specifications.
We already have an approach as follows.
Folder Structure:
Here we use all the specification related scripts inside relevant folders such as
mysql-ob-berlin
andmysql-ob-uk
. These chart folders contains a MySQL base chart inside theircharts
directory. Then we package both these specification based database charts inside commonmysql-ob
chart. Relevant conditions in the requirements.yaml file inmysql-ob
chart will determine which sub-chart (eithermysql-ob-berlin
ormysql-ob-uk
) to deploy in the deployment time.