зеркало из https://github.com/Azure/ARO-RP.git
add ManagedBy flag
This commit is contained in:
Родитель
e3596978ea
Коммит
c130b7cc11
|
@ -74,7 +74,8 @@ func (i *Installer) installStorage(ctx context.Context, doc *api.OpenShiftCluste
|
||||||
|
|
||||||
i.log.Print("creating resource group")
|
i.log.Print("creating resource group")
|
||||||
_, err := i.groups.CreateOrUpdate(ctx, doc.OpenShiftCluster.Properties.ResourceGroup, resources.Group{
|
_, err := i.groups.CreateOrUpdate(ctx, doc.OpenShiftCluster.Properties.ResourceGroup, resources.Group{
|
||||||
Location: &installConfig.Config.Azure.Region,
|
Location: &installConfig.Config.Azure.Region,
|
||||||
|
ManagedBy: to.StringPtr(doc.OpenShiftCluster.ID),
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Загрузка…
Ссылка в новой задаче