aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vFW_CNF_CDS/automation/config.py
diff options
context:
space:
mode:
authorMichal Chabiera <michal.chabiera@orange.com>2021-10-22 15:30:31 +0200
committerMichal Chabiera <michal.chabiera@orange.com>2021-10-22 15:59:54 +0200
commita8796cca80241822f26e83aea0f5b2dc7b56f92c (patch)
tree7251e5cf5c68f4bab8c8c642293702994d4a7e2f /heat/vFW_CNF_CDS/automation/config.py
parent734b3d2134b4e1dd3cd946b8badd2baf83f97110 (diff)
[vFW CNF CDS] Fix issue with multiple tenants creation for k8s region
Every time create_cloud_regions is run tenant with new id is created for k8s region. With this fix tenants for k8s regions are searched by name. Issue-ID: INT-1960 Signed-off-by: Michal Chabiera <michal.chabiera@orange.com> Change-Id: I0b29fd6049e0b6e1f581eb1bd92882f43a2dbade
Diffstat (limited to 'heat/vFW_CNF_CDS/automation/config.py')
-rwxr-xr-xheat/vFW_CNF_CDS/automation/config.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/heat/vFW_CNF_CDS/automation/config.py b/heat/vFW_CNF_CDS/automation/config.py
index c0f7b1b4..2c1c96e1 100755
--- a/heat/vFW_CNF_CDS/automation/config.py
+++ b/heat/vFW_CNF_CDS/automation/config.py
@@ -14,8 +14,6 @@
# limitations under the License.
#
# ============LICENSE_END=========================================================
-from uuid import uuid4
-
class Config:
SCENARIO = 1
@@ -117,7 +115,6 @@ class Config:
"cloud_type": "k8s",
"availability_zone": "k8s-availability-zone",
"tenant": {
- "id": str(uuid4()),
"name": K8S_REGION + "-tenant"
},
"customer_resource_definitions": [