Skip to content

Commit

Permalink
Merge pull request #20 from openstack-k8s-operators/lpiwowar/feature/…
Browse files Browse the repository at this point in the history
…logs-volume

Update RBAC rules for the test-operator
  • Loading branch information
kopecmartin authored Jan 10, 2024
2 parents 509db98 + e19c5e9 commit f6279fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,5 @@ rules:
- get
- list
- watch
- update
- patch
1 change: 1 addition & 0 deletions controllers/tempest_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func SecretExists(r *TempestReconciler, ctx context.Context, instance *testv1bet
// service account permissions that are needed to grant permission to the above
// +kubebuilder:rbac:groups="security.openshift.io",resourceNames=anyuid;privileged,resources=securitycontextconstraints,verbs=use
// +kubebuilder:rbac:groups="",resources=pods,verbs=create;delete;get;list;patch;update;watch
// +kubebuilder:rbac:groups="",resources=persistentvolumeclaims,verbs=get;list;create;update;watch;patch

// Reconcile - Tempest
func (r *TempestReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, _err error) {
Expand Down

0 comments on commit f6279fe

Please sign in to comment.