Skip to content

Commit

Permalink
feature(agent,sysdig-deploy): [SMAGENT-6754] add permissions to read …
Browse files Browse the repository at this point in the history
…configmaps in clusterrole (#1646)

Co-authored-by: Iacopo Rozzo <[email protected]>
  • Loading branch information
mavimo and irozzo-1A authored Mar 14, 2024
1 parent 726e826 commit c98d1b7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ sources:
- https://app.sysdigcloud.com/#/settings/user
- https://github.com/draios/sysdig
type: application
version: 1.21.1
version: 1.22.0
1 change: 1 addition & 0 deletions charts/agent/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ rules:
- resourcequotas
- persistentvolumes
- persistentvolumeclaims
- configmaps
verbs:
- get
- list
Expand Down
6 changes: 6 additions & 0 deletions charts/agent/tests/clusterrole_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,9 @@ tests:
verbs:
- "create"
- "patch"

- it: SMAGENT-6299 - Test agent can read configmaps in kubernetes to publish the "kube_configmap_info" metric
asserts:
- contains:
path: rules[0].resources
content: configmaps
4 changes: 2 additions & 2 deletions charts/sysdig-deploy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sysdig-deploy
description: A chart with various Sysdig components for Kubernetes
type: application
version: 1.44.1
version: 1.45.0
maintainers:
- name: AlbertoBarba
email: [email protected]
Expand All @@ -26,7 +26,7 @@ dependencies:
- name: agent
# repository: https://charts.sysdig.com
repository: file://../agent
version: ~1.21.1
version: ~1.22.0
alias: agent
condition: agent.enabled
- name: common
Expand Down

0 comments on commit c98d1b7

Please sign in to comment.