Skip to content

Commit

Permalink
cluster role for replicasets updated
Browse files Browse the repository at this point in the history
  • Loading branch information
hisarbalik committed Jan 30, 2023
1 parent a6e8748 commit 0ed03ca
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions components/telemetry-operator/config/rbac/role.yaml
Expand Up @@ -77,12 +77,8 @@ rules:
resources:
- replicasets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- monitoring.coreos.com
Expand Down
2 changes: 1 addition & 1 deletion components/telemetry-operator/main.go
Expand Up @@ -144,7 +144,7 @@ func getEnvOrDefault(envVar string, defaultValue string) string {

//+kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=apps,resources=daemonsets,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=apps,resources=replicasets,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=apps,resources=replicasets,verbs=get;list;watch

//+kubebuilder:rbac:groups=monitoring.coreos.com,resources=servicemonitors,verbs=get;list;watch;create;update;patch;delete

Expand Down
4 changes: 0 additions & 4 deletions resources/telemetry/charts/operator/templates/role.yaml
Expand Up @@ -77,12 +77,8 @@ rules:
resources:
- replicasets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- monitoring.coreos.com
Expand Down

0 comments on commit 0ed03ca

Please sign in to comment.