Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/skip tenant resource provisioning #7

Merged
merged 6 commits into from
May 17, 2022

Conversation

oncicaradupopovici
Copy link
Contributor

  • added support for skip-provisioning and skip-tenant labels
  • renamed tenant to provisioning_controller
  • updated tests and readme

@@ -203,7 +205,13 @@ func (c *ProvisioningController) syncHandler(key string) error {
return err
}

azureDbs, err := c.azureDbInformer.Lister().List(labels.Everything())
skipTenantLabel := fmt.Sprintf(SkipTenantLabelFormat, tenant.Spec.Code)
skipTenantLabelSelector, err := labels.Parse(fmt.Sprintf("%s!=true", skipTenantLabel))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe rename to something like noSkipTenantLabelSelector

@oncicaradupopovici oncicaradupopovici merged commit 3dd2573 into main May 17, 2022
@oncicaradupopovici oncicaradupopovici deleted the feature/skip-tenant-resource-provisioning branch May 17, 2022 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants