Merge pull request #1767 from gvanderpotte/startVM

change order to ensure startVM is done early
This commit is contained in:
Amber Brown 2021-10-01 12:06:33 +10:00 коммит произвёл GitHub
Родитель d61fd1609f d36a5bde51
Коммит 880316aab5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -35,9 +35,9 @@ func (m *manager) AdminUpdate(ctx context.Context) error {
steps.Action(m.ensureDefaults), steps.Action(m.ensureDefaults),
steps.AuthorizationRefreshingAction(m.fpAuthorizer, steps.Action(m.ensureResourceGroup)), // re-create RP RBAC if needed after tenant migration steps.AuthorizationRefreshingAction(m.fpAuthorizer, steps.Action(m.ensureResourceGroup)), // re-create RP RBAC if needed after tenant migration
steps.Action(m.createOrUpdateDenyAssignment), steps.Action(m.createOrUpdateDenyAssignment),
steps.Action(m.populateRegistryStorageAccountName),
steps.Action(m.startVMs), steps.Action(m.startVMs),
steps.Condition(m.apiServersReady, 30*time.Minute, false), steps.Condition(m.apiServersReady, 30*time.Minute, false),
steps.Action(m.populateRegistryStorageAccountName),
steps.Action(m.ensureBillingRecord), // belt and braces steps.Action(m.ensureBillingRecord), // belt and braces
steps.Action(m.configureAPIServerCertificate), steps.Action(m.configureAPIServerCertificate),
steps.Action(m.configureIngressCertificate), steps.Action(m.configureIngressCertificate),