Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
82 changes: 78 additions & 4 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ required = [
name = "knative.dev/pkg"
branch = "master"

[[override]]
name = "knative.dev/serving"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/hold

branch = "master"

# TODO why is this overridden?
[[override]]
name = "gopkg.in/yaml.v2"
Expand Down Expand Up @@ -120,7 +124,7 @@ required = [

[[constraint]]
name = "github.com/tsenart/vegeta"
version = "12.7.0"
branch = "master"

[[constraint]]
name = "contrib.go.opencensus.io/exporter/ocagent"
Expand Down
4 changes: 4 additions & 0 deletions config/core/deployments/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ spec:
value: eventing-broker-filter
- name: BROKER_IMAGE_PULL_SECRET_NAME
value:
# Uncomment the following to use knative service for
# broker components.
# - name: BROKER_RESOURCE_FLAVOR
# value: knative
# Legacy CronJobSource
- name: CRONJOB_RA_IMAGE
value: knative.dev/eventing/cmd/cronjob_receive_adapter
Expand Down
7 changes: 7 additions & 0 deletions config/core/roles/controller-clusterroles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ rules:
- "rolebindings"
verbs: *everything

# To make use knative serving API.
- apiGroups:
- serving.knative.dev
resources:
- services
verbs: *everything

# Our own resources and statuses we care about.
- apiGroups:
- "eventing.knative.dev"
Expand Down
8 changes: 8 additions & 0 deletions pkg/apis/eventing/v1alpha1/broker_lifecycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ func (bs *BrokerStatus) MarkIngressFailed(reason, format string, args ...interfa
brokerCondSet.Manage(bs).MarkFalse(BrokerConditionIngress, reason, format, args...)
}

func (bs *BrokerStatus) MarkIngressReady() {
brokerCondSet.Manage(bs).MarkTrue(BrokerConditionIngress)
}

func (bs *BrokerStatus) PropagateIngressDeploymentAvailability(d *appsv1.Deployment) {
if duck.DeploymentIsAvailable(&d.Status, true) {
brokerCondSet.Manage(bs).MarkTrue(BrokerConditionIngress)
Expand Down Expand Up @@ -94,6 +98,10 @@ func (bs *BrokerStatus) MarkFilterFailed(reason, format string, args ...interfac
brokerCondSet.Manage(bs).MarkFalse(BrokerConditionFilter, reason, format, args...)
}

func (bs *BrokerStatus) MarkFilterReady() {
brokerCondSet.Manage(bs).MarkTrue(BrokerConditionFilter)
}

func (bs *BrokerStatus) PropagateFilterDeploymentAvailability(d *appsv1.Deployment) {
if duck.DeploymentIsAvailable(&d.Status, true) {
brokerCondSet.Manage(bs).MarkTrue(BrokerConditionFilter)
Expand Down
38 changes: 38 additions & 0 deletions pkg/client/injection/serving/informers/v1/service/fake/fake.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

109 changes: 109 additions & 0 deletions pkg/client/injection/serving/informers/v1/service/service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading