Skip to content

Commit 2c3c8a9

Browse files
authored
Merge pull request #153 from fluxcd/watch-in-controller
Move dedicated watchers to in-controller watches
2 parents 8bb4f4c + 2b86162 commit 2c3c8a9

File tree

5 files changed

+117
-278
lines changed

5 files changed

+117
-278
lines changed

config/rbac/role.yaml

-19
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,8 @@ rules:
3737
- source.toolkit.fluxcd.io
3838
resources:
3939
- buckets
40-
verbs:
41-
- get
42-
- list
43-
- watch
44-
- apiGroups:
45-
- source.toolkit.fluxcd.io
46-
resources:
47-
- buckets/status
48-
verbs:
49-
- get
50-
- apiGroups:
51-
- source.toolkit.fluxcd.io
52-
resources:
5340
- gitrepositories
5441
verbs:
5542
- get
5643
- list
5744
- watch
58-
- apiGroups:
59-
- source.toolkit.fluxcd.io
60-
resources:
61-
- gitrepositories/status
62-
verbs:
63-
- get

controllers/bucket_watcher.go

-113
This file was deleted.

controllers/gitrepository_watcher.go

-113
This file was deleted.

0 commit comments

Comments
 (0)