Skip to content

Commit 5e349fe

Browse files
committed
Disable leader election on the cert-generator
Signed-off-by: Yuki Iwai <[email protected]>
1 parent dc8fb84 commit 5e349fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/certgenerator/v1beta1/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (c *CertGenerator) Start(ctx context.Context) error {
7373
}
7474

7575
func (c *CertGenerator) NeedLeaderElection() bool {
76-
return true
76+
return false
7777
}
7878

7979
// AddToManager adds the cert-generator to the manager.

0 commit comments

Comments
 (0)