From 4b5c35ea82a3540ca857b9b6b185f70153cdb78c Mon Sep 17 00:00:00 2001 From: Christopher Hein Date: Wed, 7 Oct 2020 16:45:37 -0700 Subject: [PATCH] Update pkg/config/v1alpha1/types.go Co-authored-by: Vince Prignano --- pkg/config/v1alpha1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/v1alpha1/types.go b/pkg/config/v1alpha1/types.go index c25476ab4c..87216724e8 100644 --- a/pkg/config/v1alpha1/types.go +++ b/pkg/config/v1alpha1/types.go @@ -30,7 +30,7 @@ type ControllerConfiguration struct { // LeaderElection returns the LeaderElection config // +optional - LeaderElection configv1alpha1.LeaderElectionConfiguration `json:"leaderElection,omitempty"` + LeaderElection *configv1alpha1.LeaderElectionConfiguration `json:"leaderElection,omitempty"` // CacheNamespace returns the namespace for the controller // +optional