Skip to content

Commit

Permalink
Use direct controller in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmahou committed Oct 10, 2024
1 parent 423473d commit 32e800d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dev/tasks/run-e2e
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ echo "Downloading envtest assets..."
export KUBEBUILDER_ASSETS=$(go run sigs.k8s.io/controller-runtime/tools/setup-envtest@latest use -p path)

if [[ -z "${KCC_USE_DIRECT_RECONCILERS:-}" ]]; then
KCC_USE_DIRECT_RECONCILERS=ComputeForwardingRule,GKEHubFeatureMembership
KCC_USE_DIRECT_RECONCILERS=ComputeFirewallPolicyRule,ComputeForwardingRule,GKEHubFeatureMembership
fi
echo "Using direct controllers: $KCC_USE_DIRECT_RECONCILERS"
export KCC_USE_DIRECT_RECONCILERS
Expand Down
1 change: 1 addition & 0 deletions pkg/controller/direct/compute/firewallpolicyrule/refs.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package firewallpolicyrule
import (
"context"
"fmt"

krm "github.com/GoogleCloudPlatform/k8s-config-connector/apis/compute/v1beta1"

refs "github.com/GoogleCloudPlatform/k8s-config-connector/apis/refs/v1beta1"
Expand Down

0 comments on commit 32e800d

Please sign in to comment.