Skip to content

Commit

Permalink
Add EKS rule to clusterrole so operator can grant them to the agent o…
Browse files Browse the repository at this point in the history
…r checks runner (#1687)

Co-authored-by: levan-m <116471169+levan-m@users.noreply.github.com>
  • Loading branch information
justin-lesko and levan-m authored Feb 5, 2025
1 parent d63ae70 commit 2b1aea4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/datadog-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: datadog-operator
version: 2.5.1
version: 2.5.2
appVersion: 1.11.1
description: Datadog Operator
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Datadog Operator

![Version: 2.5.1](https://img.shields.io/badge/Version-2.5.1-informational?style=flat-square) ![AppVersion: 1.11.1](https://img.shields.io/badge/AppVersion-1.11.1-informational?style=flat-square)
![Version: 2.5.2](https://img.shields.io/badge/Version-2.5.2-informational?style=flat-square) ![AppVersion: 1.11.1](https://img.shields.io/badge/AppVersion-1.11.1-informational?style=flat-square)

## Values

Expand Down
7 changes: 7 additions & 0 deletions charts/datadog-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,13 @@ rules:
verbs:
- list
- watch
- apiGroups: # EKS kube_scheduler and kube_controller_manager control plane metrics
- "metrics.eks.amazonaws.com"
resources:
- kcm/metrics
- ksh/metrics
verbs:
- get
{{- if .Values.datadogAgentProfile.enabled }}
- apiGroups:
- ""
Expand Down

0 comments on commit 2b1aea4

Please sign in to comment.