Skip to content

Commit

Permalink
Fixed access to servicemeshmember
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsnaps authored and didierofrivia committed May 31, 2023
1 parent fad97c2 commit 0756c6d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions bundle/manifests/kuadrant-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
containerImage: quay.io/kuadrant/kuadrant-operator:latest
createdAt: "2023-05-30T11:11:19Z"
createdAt: "2023-05-31T13:23:21Z"
operators.operatorframework.io/builder: operator-sdk-v1.28.1
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/Kuadrant/kuadrant-operator
Expand Down Expand Up @@ -371,11 +371,12 @@ spec:
- list
- patch
- update
- use
- watch
- apiGroups:
- maistra.io
resources:
- servicemeshmemberrolls
- servicemeshmembers
verbs:
- create
- delete
Expand Down
3 changes: 2 additions & 1 deletion config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,12 @@ rules:
- list
- patch
- update
- use
- watch
- apiGroups:
- maistra.io
resources:
- servicemeshmemberrolls
- servicemeshmembers
verbs:
- create
- delete
Expand Down
4 changes: 2 additions & 2 deletions controllers/kuadrant_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ type KuadrantReconciler struct {
//+kubebuilder:rbac:groups="gateway.networking.k8s.io",resources=httproutes,verbs=get;list;patch;update;watch
//+kubebuilder:rbac:groups=operator.authorino.kuadrant.io,resources=authorinos,verbs=get;list;watch;create;update;delete;patch
//+kubebuilder:rbac:groups=install.istio.io,resources=istiooperators,verbs=get;list;watch;create;update;patch
//+kubebuilder:rbac:groups=maistra.io,resources=servicemeshcontrolplanes,verbs=get;list;watch;update;patch
//+kubebuilder:rbac:groups=maistra.io,resources=servicemeshmemberrolls,verbs=get;list;watch;create;update;delete;patch
//+kubebuilder:rbac:groups=maistra.io,resources=servicemeshcontrolplanes,verbs=get;list;watch;update;use;patch
//+kubebuilder:rbac:groups=maistra.io,resources=servicemeshmembers,verbs=get;list;watch;create;update;delete;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 0756c6d

Please sign in to comment.