Skip to content
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

[WIP] Registry - Proposal / Initial Version #977

Closed
wants to merge 316 commits into from

Conversation

nachocano
Copy link
Contributor

First cut for the Registry feature request: #929

Proposed Changes

  • Registry per Namespace (i.e., EventTypes are namespaced).
  • Broker Ingress Policies can be configured with boolean values: allowAny, autoAdd.
  • RBAC permissions for ingress to retrieve and create EventTypes on the Broker ingress.
  • EventType Controller that not only watches for EventTypes but also for Broker changes in order to update the EventType Readiness status.

Release Note

EventConsumers can now query the Registry to see what event types can be consumed from the eventing mesh.

nachocano and others added 30 commits February 13, 2019 13:38
Trigger filters on event source and type
…dType. Add unit tests for the filter binary.
Rename Trigger.Spec.Filter.ExactMatch to Trigger.Spec.Filter.SourceAndType. Add unit tests for the filter binary.
With this we allow to reconcile only the triggers that belong to the
particular broker that changed
Reconcile Triggers on Broker changes.
…eAccount and RBAC.

Sadly this doesn't work well because we have such an old version of controller-runtime that the Filter ends up trying to watch _all_ Triggers, not just those in its namespace. And it only gets permission for the Triggers in its own namespace.
@nachocano nachocano mentioned this pull request Apr 1, 2019
docs/registry/README.md Outdated Show resolved Hide resolved
docs/registry/README.md Outdated Show resolved Hide resolved
docs/registry/README.md Outdated Show resolved Hide resolved
docs/registry/README.md Outdated Show resolved Hide resolved
docs/registry/README.md Outdated Show resolved Hide resolved
@nachocano
Copy link
Contributor Author

/retest

1 similar comment
@nachocano
Copy link
Contributor Author

/retest

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: nachocano
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: grantr

If they are not already assigned, you can assign the PR to them by writing /assign @grantr in a comment when ready.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot
Copy link
Contributor

knative-prow-robot commented Apr 25, 2019

@nachocano: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-knative-eventing-unit-tests b69f643 link /test pull-knative-eventing-unit-tests
pull-knative-eventing-build-tests b69f643 link /test pull-knative-eventing-build-tests
pull-knative-eventing-integration-tests b69f643 link /test pull-knative-eventing-integration-tests

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@knative-metrics-robot
Copy link

The following is the coverage report on pkg/.
Say /test pull-knative-eventing-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/eventing/v1alpha1/eventtype_defaults.go Do not exist 100.0%
pkg/apis/eventing/v1alpha1/eventtype_lifecycle.go Do not exist 100.0%
pkg/apis/eventing/v1alpha1/eventtype_validation.go Do not exist 94.7%
pkg/broker/ingress.go Do not exist 96.3%
pkg/broker/receiver.go 82.9% 83.9% 1.0
pkg/broker/ttl.go Do not exist 100.0%

@nachocano
Copy link
Contributor Author

Closing as it has been split into the design #1015 and implementation #1105 PRs.
Note the 90 PRs in between until an agreement was made :)

@nachocano nachocano closed this Apr 26, 2019
lberk pushed a commit to lberk/eventing that referenced this pull request Nov 17, 2020
Signed-off-by: Matthias Wessendorf <[email protected]>
creydr pushed a commit to creydr/knative-eventing that referenced this pull request Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates the PR's author has signed the CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.