Skip to content

Commit

Permalink
Merge pull request #3704 from nelljerram/add-list-permission-master
Browse files Browse the repository at this point in the history
Allow kube-controllers to read its own configuration
  • Loading branch information
nelljerram authored Jan 16, 2025
2 parents d03764e + ad75b98 commit c698516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/render/kubecontrollers/kube-controllers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2019-2024 Tigera, Inc. All rights reserved.
// Copyright (c) 2019-2025 Tigera, Inc. All rights reserved.

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -400,7 +400,7 @@ func kubeControllersRoleCommonRules(cfg *KubeControllersConfiguration, kubeContr
// as well.
APIGroups: []string{"crd.projectcalico.org"},
Resources: []string{"kubecontrollersconfigurations"},
Verbs: []string{"get", "create", "update", "watch"},
Verbs: []string{"get", "create", "list", "update", "watch"},
},
{
// calico-kube-controllers requires tiers create
Expand Down

0 comments on commit c698516

Please sign in to comment.