Skip to content

Commit

Permalink
fix permissions for extendeddaemonsetreplicasets (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
celenechang committed Sep 28, 2021
1 parent 6aec7a1 commit 3d7f09f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,12 @@ rules:
- get
- patch
- update
- apiGroups:
- datadoghq.com
resources:
- extendeddaemonsetreplicasets
verbs:
- get
- apiGroups:
- datadoghq.com
resources:
Expand Down
1 change: 1 addition & 0 deletions controllers/datadogagent_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ type DatadogAgentReconciler struct {

// Use ExtendedDaemonSet
// +kubebuilder:rbac:groups=datadoghq.com,resources=extendeddaemonsets,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=datadoghq.com,resources=extendeddaemonsetreplicasets,verbs=get

// OpenShift
// +kubebuilder:rbac:groups=quota.openshift.io,resources=clusterresourcequotas,verbs=get;list
Expand Down

0 comments on commit 3d7f09f

Please sign in to comment.