Skip to content

Commit

Permalink
fix namespace (#255)
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Zhang <[email protected]>
  • Loading branch information
ryanzhang-oss and Ryan Zhang authored Aug 30, 2022
1 parent 12dc5e0 commit 9ab61d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/memberagent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ func main() {
Port: 8443,
HealthProbeBindAddress: *hubProbeAddr,
LeaderElection: *enableLeaderElection,
LeaderElectionNamespace: *leaderElectionNamespace,
LeaderElectionID: "3111024923.hub.fleet.azure.com",
LeaderElectionNamespace: mcNamespace, // This requires we have access to resource "leases" in API group "coordination.k8s.io" under namespace $mcHubNamespace
LeaderElectionID: "136224848560.hub.fleet.azure.com",
Namespace: mcNamespace,
}

Expand Down

0 comments on commit 9ab61d6

Please sign in to comment.