Skip to content

Commit 5805209

Browse files
committed
feat: leader election
1 parent f43e352 commit 5805209

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package io.javaoperatorsdk.operator.api.config;
2+
3+
public class LeaderElectionConfiguration {
4+
5+
private String leaderElectionNamespaces;
6+
private String leaderElectionID;
7+
8+
// todo discuss
9+
private boolean syncEventSources;
10+
11+
// todo leader election with lease vs for life, other options:
12+
// see: https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/manager#Options
13+
}

0 commit comments

Comments
 (0)