Skip to content

Commit

Permalink
Merge pull request #118 from mittwald/task/allow-patch-on-pvcs
Browse files Browse the repository at this point in the history
allow patch on pvcs
  • Loading branch information
elenz97 authored Apr 26, 2024
2 parents 124608e + 4f99295 commit d7f6e94
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ rules:
- list
- update
- watch
- patch
- apiGroups:
- ""
resources:
Expand Down
2 changes: 1 addition & 1 deletion controllers/registries/instance_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (r *InstanceReconciler) SetupWithManager(mgr ctrl.Manager) error {

// +kubebuilder:rbac:groups=registries.mittwald.de,resources=instances,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=registries.mittwald.de,resources=instances/status,verbs=get;update;patch
// +kubebuilder:rbac:groups="",resources=persistentvolumeclaims,verbs=get;list;watch;create;update
// +kubebuilder:rbac:groups="",resources=persistentvolumeclaims,verbs=get;list;watch;create;update;patch
// +kubebuilder:rbac:groups="",resources=services,verbs=get;list;watch;create;update;delete
// +kubebuilder:rbac:groups="apps",resources=deployments;statefulsets;replicasets,verbs=get;list;watch;create;update;delete;patch
// +kubebuilder:rbac:groups="networking.k8s.io",resources=ingresses,verbs=get;list;watch;create;update;delete;patch
Expand Down
1 change: 1 addition & 0 deletions deploy/chart/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ rules:
- list
- update
- watch
- patch
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit d7f6e94

Please sign in to comment.