Skip to content

Commit

Permalink
leader election also need watch pods permission
Browse files Browse the repository at this point in the history
  • Loading branch information
terjesannum committed Nov 28, 2023
1 parent a7fe6fe commit 8d39d18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/resourcecreator/leaderelection/leaderelection.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ func role(objectMeta metav1.ObjectMeta, electionMode ElectionMode, resourceName
Verbs: []string{
"get",
"list",
"watch",
},
},
},
Expand Down

0 comments on commit 8d39d18

Please sign in to comment.