Skip to content

Commit

Permalink
Merge pull request #351 from rummens/master
Browse files Browse the repository at this point in the history
Added missing Ingress Finaliser Permission to Role
  • Loading branch information
rxbn committed Aug 4, 2024
2 parents aa53ae0 + 9c7dd17 commit 89d8c4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,9 @@ rules:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses/finalizers
verbs:
- update
1 change: 1 addition & 0 deletions internal/controller/ingress_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ type IngressReconciler struct {
}

// +kubebuilder:rbac:groups=networking.k8s.io,resources=ingresses,verbs=get;list;watch
// +kubebuilder:rbac:groups=networking.k8s.io,resources=ingresses/finalizers,verbs=update

// 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 89d8c4d

Please sign in to comment.