Skip to content

Remove Istio dependency from Eventing (Part - 4) - gcp-pubsub#1107

Merged
knative-prow-robot merged 66 commits into
knative:masterfrom
akashrv:noistiogcp
Apr 29, 2019
Merged

Remove Istio dependency from Eventing (Part - 4) - gcp-pubsub#1107
knative-prow-robot merged 66 commits into
knative:masterfrom
akashrv:noistiogcp

Conversation

@akashrv
Copy link
Copy Markdown
Contributor

@akashrv akashrv commented Apr 25, 2019

Part of series of PRs for #294
Previous PRs for reference:
#1044
#1058
#1074

Proposed Changes

  • Stop creating istio virtual service for GCP-Pubsub channel
  • Dispatcher is still deployed with a side-car. Once all channels stop using Istio Virtual service, I'll send a PR to remove all istio sidecars and injection related code.

Release Note

Knative Eventing will create a unique K8s service of type ExternalName for each channel when using gcp-pubsub ClusterChannelProvisioner

akashrv and others added 30 commits April 5, 2019 10:13
@knative-prow-robot knative-prow-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Apr 25, 2019
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Apr 25, 2019
@akashrv
Copy link
Copy Markdown
Contributor Author

akashrv commented Apr 25, 2019

/assign @Harwayne @vaikas-google

}

// NewHostNameToChannelRefMap parses each channel from cList and creates a map[string(Status.Address.HostName)]ChannelReference
func NewHostNameToChannelRefMap(cList []eventingv1alpha1.Channel) (map[string]ChannelReference, error) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

UT is missing. Will add it in next iteration in the same PR

Comment thread contrib/gcppubsub/config/gcppubsub.yaml
Comment thread contrib/gcppubsub/pkg/controller/channel/reconcile.go Outdated
Comment thread contrib/gcppubsub/pkg/dispatcher/dispatcher/reconcile.go Outdated
Comment thread contrib/gcppubsub/pkg/dispatcher/dispatcher/reconcile.go Outdated
Comment thread contrib/gcppubsub/pkg/dispatcher/receiver/receiver.go Outdated
Comment thread contrib/gcppubsub/pkg/dispatcher/receiver/receiver.go Outdated
Comment thread contrib/gcppubsub/pkg/dispatcher/receiver/receiver.go Outdated
@knative-metrics-robot
Copy link
Copy Markdown

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
contrib/gcppubsub/pkg/controller/channel/reconcile.go 96.5% 96.3% -0.2
contrib/gcppubsub/pkg/dispatcher/receiver/receiver.go 93.6% 76.7% -16.9
contrib/natss/pkg/dispatcher/dispatcher/dispatcher.go 57.1% 57.6% 0.5
pkg/channelwatcher/channel_watcher.go Do not exist 50.0%
pkg/provisioners/channel_util.go 92.4% 85.7% -6.7
pkg/provisioners/inmemory/channel/reconcile.go 94.4% 96.0% 1.6

@vaikas
Copy link
Copy Markdown
Contributor

vaikas commented Apr 29, 2019

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 29, 2019
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akashrv, vaikas-google

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 29, 2019
@knative-prow-robot knative-prow-robot merged commit 285b11a into knative:master Apr 29, 2019
@grantr
Copy link
Copy Markdown
Contributor

grantr commented Apr 29, 2019

Now that this is merged, have we eliminated our istio dependency?

@akashrv
Copy link
Copy Markdown
Contributor Author

akashrv commented Apr 29, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants