Skip to content

Commit

Permalink
[mq] working branch - merge 8f703ac on top of main at 66a31bc
Browse files Browse the repository at this point in the history
{"baseBranch":"main","baseCommit":"66a31bc1edb51c9ed0c7c9fa7bd81fd3b1bb5bbf","createdAt":"2024-11-01T20:02:11.719668Z","headSha":"8f703ac2d688afda28708e46dbb6f1d1e7e15184","id":"a639f291-40d5-4fa2-8eb1-534fe9542d8c","priority":"200","pullRequestNumber":"1583","queuedAt":"2024-11-01T20:02:11.719131Z","status":"STATUS_QUEUED"}
  • Loading branch information
dd-mergequeue[bot] authored Nov 1, 2024
2 parents 3357401 + 8f703ac commit 9966b80
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
4 changes: 4 additions & 0 deletions charts/datadog-operator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.2.0

* Add clusterRole.allowReadAllResources to allow viewing all resources. This is required for collecting custom resources in the Kubernetes Explorer

## 2.1.0

* Update Datadog Operator version to 1.9.0.
Expand Down
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.1.0
version: 2.2.0
appVersion: 1.9.0
description: Datadog Operator
keywords:
Expand Down
3 changes: 2 additions & 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.1.0](https://img.shields.io/badge/Version-2.1.0-informational?style=flat-square) ![AppVersion: 1.9.0](https://img.shields.io/badge/AppVersion-1.9.0-informational?style=flat-square)
![Version: 2.2.0](https://img.shields.io/badge/Version-2.2.0-informational?style=flat-square) ![AppVersion: 1.9.0](https://img.shields.io/badge/AppVersion-1.9.0-informational?style=flat-square)

## Values

Expand All @@ -12,6 +12,7 @@
| appKey | string | `nil` | Your Datadog APP key |
| appKeyExistingSecret | string | `nil` | Use existing Secret which stores APP key instead of creating a new one |
| clusterName | string | `nil` | Set a unique cluster name reporting from the Datadog Operator. |
| clusterRole | object | `{"allowReadAllResources":false}` | Set specific configuration for the cluster role |
| collectOperatorMetrics | bool | `true` | Configures an openmetrics check to collect operator metrics |
| containerSecurityContext | object | `{}` | A security context defines privileges and access control settings for a container. |
| datadogAgent.enabled | bool | `true` | Enables Datadog Agent controller |
Expand Down
10 changes: 9 additions & 1 deletion charts/datadog-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -794,5 +794,13 @@ rules:
- patch
- update
{{- end }}
{{- if .Values.clusterRole.allowReadAllResources }}
- apiGroups:
- '*'
resources:
- '*'
verbs:
- list
- watch
{{- end }}
{{- end }}

6 changes: 6 additions & 0 deletions charts/datadog-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,9 @@ livenessProbe:
# timeoutSeconds: 1
# successThreshold: 1
# failureThreshold: 3

# clusterRole -- Set specific configuration for the cluster role
clusterRole:
# allowReadAllResources is required to allow the operator to view all custom resources.
# If collecting CRDs in the Kubernetes Explorer this is required
allowReadAllResources: false

0 comments on commit 9966b80

Please sign in to comment.