-
Notifications
You must be signed in to change notification settings - Fork 216
Conversation
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: n3wscott, pmorie 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 |
Is this already in the pkg 0.13 ? |
it is: https://github.com/knative/pkg/commits/release-0.13 |
and since we now have that already used in here: https://github.com/knative/eventing-contrib/pull/968/files I think this is not needed? |
Nope, that's just the commit that differentiates the main for the normal controllers and webhooks. |
3efa2a3
to
5c745b4
Compare
5c745b4
to
d0bcb38
Compare
d0bcb38
to
748a4ac
Compare
748a4ac
to
0945318
Compare
a5aaa17
to
4c6202c
Compare
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.
Do you want to update the PR description?
Proposed Changes
- This affects only the kafka channel dispatcher, since it uses
sharedmain.MainWithContext
awssqs/config/201-clusterrole.yaml
Outdated
resources: | ||
- leases | ||
verbs: | ||
- get |
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.
Why does this use an explicit list, but the couchdb YAML and others use a reference?
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 followed the pattern in use in whatever file I was modifying, which follow varying conventions.
# leader election is enabled. Valid values are: | ||
# | ||
# - couchdb-controller | ||
enabledComponents: "couchdb-controller" |
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.
Do we want to rename the awssqs component awssqs-controller
, rather than controller
?
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.
Probably sensible
- "coordination.k8s.io" | ||
resources: | ||
- leases | ||
verbs: |
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.
Why is this a smaller list of verbs than elsewhere (missing delete
)?
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.
Inadvertent, I was tired.
# | ||
# - kafkachannel_dispatcher | ||
# - kafkachannel_controller | ||
enabledComponents: "kafkachannel_dispatcher,kafkachannel_controller" |
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.
Should these have hyphens, to match the changes in the main.go
files?
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.
Whoops, I thought I got them all. thanks
# leader election is enabled. Valid values are: | ||
# | ||
# - controller | ||
enabledComponents: "controller" |
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.
should we here, and perhaps in https://github.com/knative/eventing-contrib/blob/master/awssqs/cmd/controller/main.go#L29
make this more like awssqs-controller
?
@@ -26,7 +26,7 @@ import ( | |||
controller "knative.dev/eventing-contrib/kafka/channel/pkg/reconciler/dispatcher" | |||
) | |||
|
|||
const component = "kafkachannel_dispatcher" | |||
const component = "kafkachannel-dispatcher" |
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.
there is references to this _
version in kafka/docs/metrics.md -> mind updateing ?
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.
ahhh, thank you
/lgtm |
/unhold |
Fixes knative/pkg#1007
Proposed Changes
Add (inactive) leader election configurations for:
Release Note