-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sugar namespace and trigger reconcilers to main eventing controller #6027
Add sugar namespace and trigger reconcilers to main eventing controller #6027
Conversation
Skipping CI for Draft Pull Request. |
/retest Testing out new retesting of failed github actions |
4c35842
to
75ff1f1
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: xtreme-sameer-vohra The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
75ff1f1
to
5e13bdb
Compare
Codecov Report
@@ Coverage Diff @@
## main #6027 +/- ##
==========================================
- Coverage 82.13% 81.98% -0.15%
==========================================
Files 231 231
Lines 7774 7811 +37
==========================================
+ Hits 6385 6404 +19
- Misses 938 956 +18
Partials 451 451
Continue to review full report at Codecov.
|
c647336
to
dca4707
Compare
dca4707
to
4365ea0
Compare
5635771
to
c9d66a2
Compare
/retest |
e44d676
to
c75ff0e
Compare
@matzew Added you as a reviewer since you have context in this area :) |
The following is the coverage report on the affected files.
|
The checks were all passing 12 days ago but are getting stale and failing now 😥 |
/retest |
1 similar comment
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet, most of my comments are nuances and can be discarded upon your consideration.
c8e51d7
to
0127894
Compare
- Main eventing-controller includes namespace & trigger sugar reconcilers - Add sugar.yaml configmap to toggle sugar controller behaviour - Add "namespace-sugar-selector" to to allow configuring of sugar behaviour for namespaces - Add "trigger-sugar-selector" to allow configuring of sugar behaviour for triggers - Wire config map into namespace & trigger reconcillers - Update namespace & trigger unit tests
- remove sugar_controller go & yamls - remove "BROKER_INJECTION_DEFAULT" reference - remove sugar filters & labels logic which isn't required anymore
- remove references to sugar that aren't needed
- no longer need to install sugar controller - install test/config/sugar to controller sugar behaviour for testing
- remove broken references to sugar injection key - update tests to reference test/config/sugar.yaml
- sugar controller needs to be enabled for e2e tests that depend on it. This is done in e2e-common.sh for CI but must be done manually for local setups.
- ran ./hack/update-checksum.sh for sugar.yaml
- move configmap properties under _example key to be consistent with other configmaps
- Add config-sugar map to Config Validator Webhook
- NamespaceSugarSelector -> NamespaceSelector - namespace-sugar-selector -> namespace-selector - TriggerSugarSelector -> TriggerSelector - trigger-sugar-selector -> trigger-selector
0127894
to
40cf2b5
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: odacremolbap, xtreme-sameer-vohra The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes #5958
TODO List
kn trigger create --inject-broker
Change to Sugar Controller will impact inject Broker functionality option of "Kn trigger create" client#1629Proposed Changes
Release Note
Docs