From 6c111f70980be1e1f294e7e198ee4f93ebfa3b59 Mon Sep 17 00:00:00 2001 From: lolorol Date: Fri, 29 Jul 2022 09:19:46 +0000 Subject: [PATCH] Add support single sub for github deployment --- scripts/lib/bootstrap.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/lib/bootstrap.sh b/scripts/lib/bootstrap.sh index fd358dbe..654a6549 100644 --- a/scripts/lib/bootstrap.sh +++ b/scripts/lib/bootstrap.sh @@ -124,6 +124,11 @@ register_rover_context() { register_gitops_secret ${gitops_pipelines} "AZURE_CONNECTIVITY_SUBSCRIPTION_ID" ${sub_connectivity} register_gitops_secret ${gitops_pipelines} "AZURE_IDENTITY_SUBSCRIPTION_ID" ${sub_identity} register_gitops_secret ${gitops_pipelines} "AZURE_SECURITY_SUBSCRIPTION_ID" ${sub_security} + else + register_gitops_secret ${gitops_pipelines} "AZURE_MANAGEMENT_SUBSCRIPTION_ID" ${sub_management} + register_gitops_secret ${gitops_pipelines} "AZURE_CONNECTIVITY_SUBSCRIPTION_ID" ${sub_management} + register_gitops_secret ${gitops_pipelines} "AZURE_IDENTITY_SUBSCRIPTION_ID" ${sub_management} + register_gitops_secret ${gitops_pipelines} "AZURE_SECURITY_SUBSCRIPTION_ID" ${sub_management} fi }