Skip to content

Commit

Permalink
it still want to watch secrets...
Browse files Browse the repository at this point in the history
  • Loading branch information
simonoff committed Sep 17, 2024
1 parent 7e93b95 commit 21eaffd
Show file tree
Hide file tree
Showing 2 changed files with 2 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 @@ -30,6 +30,7 @@ rules:
- list
- patch
- update
- watch
- apiGroups:
- domain.mailgun.com
resources:
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/domain/domain_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type DomainReconciler struct {
// +kubebuilder:rbac:groups=domain.mailgun.com,resources=domains/finalizers,verbs=update
// +kubebuilder:rbac:groups=core,resources=events,verbs=create;patch
// +kubebuilder:rbac:groups=externaldns.k8s.io,resources=dnsendpoints,verbs=get;list;create;update;patch;delete;watch
// +kubebuilder:rbac:groups=core,resources=secrets,verbs=get;list;create;update;patch;delete
// +kubebuilder:rbac:groups=core,resources=secrets,verbs=get;list;watch;create;update;patch;delete

// 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 21eaffd

Please sign in to comment.