Skip to content

Commit

Permalink
fix: added patch permission for events (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: Sangeetha Madamanchi <[email protected]>
  • Loading branch information
sangdammad and Sangeetha Madamanchi authored Jan 25, 2023
1 parent 80d33c5 commit d0b8075
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/overwhelm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: overwhelm
version: 1.2.3
version: 1.2.4
maintainers:
- name: "Expedia Group"
url: "https://github.com/ExpediaGroup/overwhelm"
1 change: 1 addition & 0 deletions charts/overwhelm/templates/overwhelm-manager-role-cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ rules:
- create
- get
- list
- patch
- update
- watch
- apiGroups:
Expand Down
1 change: 1 addition & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ rules:
- create
- get
- list
- patch
- update
- watch
- apiGroups:
Expand Down
2 changes: 1 addition & 1 deletion controllers/application_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ var log logr.Logger
//+kubebuilder:rbac:groups=core,resources=pods/status,verbs=get;watch
//+kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch
//+kubebuilder:rbac:groups=apps,resources=replicasets,verbs=get;list;watch
//+kubebuilder:rbac:groups=core,resources=events,verbs=get;list;watch;update;create
//+kubebuilder:rbac:groups=core,resources=events,verbs=get;list;watch;update;create;patch

// Reconcile is part of the main kubernetes reconciliation loop which aims to
// move the current state of the cluster closer to the desired state.
Expand Down

0 comments on commit d0b8075

Please sign in to comment.