forked from openshift/installer
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1987845: openstack: relax quota checks in BYON
When deploying OCP with pre-provisioned networks, we do not need to have available quotas for routers, networks and subnets for the machines since they are created already. This patch does the following: * On Kuryr based deployment: - Do not touch the quotas on networks / subnets, since we still need to have a bunch of quotas to create what's needed for Kuryr. - Relax the quota on Routers, since it wouldn't create one in BYON mode. * For other network types: Relax routers, subnets, networks to be 0 by default and if we don't configure OCP in BYON mode, then we add the necessary quotas (1 router, 1 network and 1 subnet).
- Loading branch information
Showing
1 changed file
with
26 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters