Fix install O2 on subcloud failed 63/12963/3 j-release master
authorZhang Rong(Jon) <rong.zhang@windriver.com>
Fri, 14 Jun 2024 06:57:36 +0000 (14:57 +0800)
committerZhang Rong(Jon) <rong.zhang@windriver.com>
Thu, 20 Jun 2024 08:07:08 +0000 (16:07 +0800)
commitd526dada19a291932dd2c235fc2c40f0422ccdd7
tree0709cdbc50d5fe546da93bb6e436ba590c4be832
parent6e18a1ce517d87dcaf56756a04c66949f51ca991
Fix install O2 on subcloud failed

The O2 application installation on a subcloud will fail because the
default region name is "RegionOne," while the subcloud has a different
region name.

This commit adds an environment variable that allows the user to set the
region name, replacing the default one.

Test Cases:

1. Successfully installed the O2 application on the subcloud.
2. Successfully installed the O2 application on the central cloud.

Issue-ID: INF-467

Change-Id: I893680b8c2519667b1784b751950ea8a3f14cbce
Signed-off-by: Zhang Rong(Jon) <rong.zhang@windriver.com>
charts/templates/deployment.yaml
charts/values.yaml
o2common/config/config.py