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

🌱 Replace ValidatingWebhookConfiguration controller with watch in StoragePolicyQuota controller #792

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions controllers/infra/controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"github.com/vmware-tanzu/vm-operator/controllers/infra/configmap"
"github.com/vmware-tanzu/vm-operator/controllers/infra/node"
"github.com/vmware-tanzu/vm-operator/controllers/infra/secret"
"github.com/vmware-tanzu/vm-operator/controllers/infra/validatingwebhookconfiguration"
"github.com/vmware-tanzu/vm-operator/controllers/infra/zone"
pkgcfg "github.com/vmware-tanzu/vm-operator/pkg/config"
pkgctx "github.com/vmware-tanzu/vm-operator/pkg/context"
Expand All @@ -32,11 +31,6 @@ func AddToManager(ctx *pkgctx.ControllerManagerContext, mgr manager.Manager) err
if err := secret.AddToManager(ctx, mgr); err != nil {
return fmt.Errorf("failed to initialize infra secret controller: %w", err)
}
if pkgcfg.FromContext(ctx).Features.UnifiedStorageQuota {
if err := validatingwebhookconfiguration.AddToManager(ctx, mgr); err != nil {
return fmt.Errorf("failed to initialize validatingwebhookconfiguration webhook controller: %w", err)
}
}
if pkgcfg.FromContext(ctx).Features.WorkloadDomainIsolation {
if err := zone.AddToManager(ctx, mgr); err != nil {
return fmt.Errorf("failed to initialize infra zone controller: %w", err)
Expand Down

This file was deleted.

This file was deleted.

Loading