Skip to content

Commit 9ab61d6

Browse files
ryanzhang-ossRyan Zhang
andauthored
fix namespace (#255)
Co-authored-by: Ryan Zhang <zhangryan@microsoft.com>
1 parent 12dc5e0 commit 9ab61d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/memberagent/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ func main() {
133133
Port: 8443,
134134
HealthProbeBindAddress: *hubProbeAddr,
135135
LeaderElection: *enableLeaderElection,
136-
LeaderElectionNamespace: *leaderElectionNamespace,
137-
LeaderElectionID: "3111024923.hub.fleet.azure.com",
136+
LeaderElectionNamespace: mcNamespace, // This requires we have access to resource "leases" in API group "coordination.k8s.io" under namespace $mcHubNamespace
137+
LeaderElectionID: "136224848560.hub.fleet.azure.com",
138138
Namespace: mcNamespace,
139139
}
140140

0 commit comments

Comments
 (0)