Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ rules:
- ""
resources:
- configmaps
- namespaces
verbs:
- get
- list
Expand Down
2 changes: 1 addition & 1 deletion controllers/comments/githubcomment_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type GithubCommentReconciler struct {
//+kubebuilder:rbac:groups=templates.kluctl.io,resources=githubcomments,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=templates.kluctl.io,resources=githubcomments/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=templates.kluctl.io,resources=githubcomments/finalizers,verbs=update
//+kubebuilder:rbac:groups="",resources=configmaps,verbs=get;list;watch
//+kubebuilder:rbac:groups="",resources=configmaps;namespaces,verbs=get;list;watch

func (r *GithubCommentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error) {
logger := log.FromContext(ctx)
Expand Down
2 changes: 1 addition & 1 deletion controllers/comments/gitlabcomment_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type GitlabCommentReconciler struct {
//+kubebuilder:rbac:groups=templates.kluctl.io,resources=gitlabcomments,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=templates.kluctl.io,resources=gitlabcomments/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=templates.kluctl.io,resources=gitlabcomments/finalizers,verbs=update
//+kubebuilder:rbac:groups="",resources=configmaps,verbs=get;list;watch
//+kubebuilder:rbac:groups="",resources=configmaps;namespaces,verbs=get;list;watch

func (r *GitlabCommentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error) {
logger := log.FromContext(ctx)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ rules:
- ""
resources:
- configmaps
- namespaces
verbs:
- get
- list
Expand Down
1 change: 1 addition & 0 deletions deploy/manifests/template-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1714,6 +1714,7 @@ rules:
- ""
resources:
- configmaps
- namespaces
verbs:
- get
- list
Expand Down
Loading