Skip to content

Commit

Permalink
missing permissions for secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
simonoff committed Sep 17, 2024
1 parent 0bf156c commit 4ad035b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ rules:
verbs:
- create
- patch
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- delete
- get
- list
- patch
- update
- apiGroups:
- domain.mailgun.com
resources:
Expand Down
1 change: 1 addition & 0 deletions internal/controller/domain/domain_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +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

// 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 4ad035b

Please sign in to comment.