Skip to content

Commit

Permalink
feat(datadog-operator): add ValidatingWebhookConfigurations RBAC
Browse files Browse the repository at this point in the history
Signed-off-by: Wassim DHIF <[email protected]>
  • Loading branch information
wdhif committed Oct 7, 2024
1 parent 1049d7e commit 1add2c2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 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.0.2

* Add `admissionregistration.k8s.io/v1/validatingwebhookconfigurations` RBACs to the Operator.

## 2.0.1

* Make Operator `livenessProbe` configurable.
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.0.1
version: 2.0.2
appVersion: 1.8.0
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.0.1](https://img.shields.io/badge/Version-2.0.1-informational?style=flat-square) ![AppVersion: 1.8.0](https://img.shields.io/badge/AppVersion-1.8.0-informational?style=flat-square)
![Version: 2.0.2](https://img.shields.io/badge/Version-2.0.2-informational?style=flat-square) ![AppVersion: 1.8.0](https://img.shields.io/badge/AppVersion-1.8.0-informational?style=flat-square)

## Values

Expand Down
8 changes: 1 addition & 7 deletions charts/datadog-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,10 @@ rules:
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
- mutatingwebhookconfigurations
verbs:
- '*'
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
verbs:
- list
- watch
- apiGroups:
- apiextensions.k8s.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: datadog-agent
labels:
app.kubernetes.io/name: datadog-operator
helm.sh/chart: datadog-operator-2.0.1
helm.sh/chart: datadog-operator-2.0.2
app.kubernetes.io/instance: datadog-operator
app.kubernetes.io/version: "1.8.0"
app.kubernetes.io/managed-by: Helm
Expand Down

0 comments on commit 1add2c2

Please sign in to comment.