-
Notifications
You must be signed in to change notification settings - Fork 601
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
Global resync brokers on config-features changes #7126
Global resync brokers on config-features changes #7126
Conversation
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
/cherry-pick release-1.11 |
@pierDipi: once the present PR merges, I will cherry-pick it on top of release-1.11 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #7126 +/- ##
==========================================
- Coverage 78.05% 77.91% -0.15%
==========================================
Files 250 248 -2
Lines 13390 13320 -70
==========================================
- Hits 10452 10378 -74
- Misses 2405 2408 +3
- Partials 533 534 +1
☔ View full report in Codecov by Sentry. |
Flaky test: #7101 /retest |
pkg/reconciler/broker/controller.go
Outdated
@@ -69,7 +69,13 @@ func NewController( | |||
configmapInformer := configmapinformer.Get(ctx) | |||
secretInformer := secretinformer.Get(ctx) | |||
|
|||
featureStore := feature.NewStore(logging.FromContext(ctx).Named("feature-config-store")) | |||
var grCb func(obj interface{}) |
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.
What does grCb stands for?
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.
"global resync channel brokers"
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.
I gave it a longer name
/lgtm |
@pierDipi lol the UI you mean the editor in GitHub? |
/lgtm |
/test upgrade-tests |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gabo1208, pierDipi 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 |
@pierDipi: new pull request created: #7134 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is an automated cherry-pick of #7126 --------- Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
…ive#7134) This is an automated cherry-pick of knative#7126 --------- Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
* [release-1.11] Watch config-features in IMC controller (knative#7133) This is an automated cherry-pick of knative#7125 --------- Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com> * [release-1.11] Global resync brokers on config-features changes (knative#7134) This is an automated cherry-pick of knative#7126 --------- Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com> --------- Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> Co-authored-by: Knative Prow Robot <automation+prow-robot@knative.team>
This will allow updating Brokers' addresses based on transport-encryption feature flag