Skip to content

Update VirtualSerivce to pass Istio validation#304

Merged
google-prow-robot merged 3 commits intoknative:masterfrom
scothis:istio-vs-validation
Aug 2, 2018
Merged

Update VirtualSerivce to pass Istio validation#304
google-prow-robot merged 3 commits intoknative:masterfrom
scothis:istio-vs-validation

Conversation

@scothis
Copy link
Copy Markdown
Contributor

@scothis scothis commented Aug 1, 2018

The Istio validator was rejecting VirtualServices created for Channels.
Adding the PortSelector made the validator happy again.

Fixes #302

The Istio validator was rejecting VirtualServices created for Channels.
Adding the PortSelector made the validator happy again.

Fixes knative#302
@google-prow-robot google-prow-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 1, 2018
@scothis
Copy link
Copy Markdown
Contributor Author

scothis commented Aug 1, 2018

/assign @tcnghia
/assign @evankanderson

Comment thread pkg/controller/channel/controller.go Outdated
Destination: istiov1alpha3.Destination{
Host: destinationHost,
Port: istiov1alpha3.PortSelector{
Number: 80,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

do we already have a constant for this port number (or port name)?

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.

updated

@google-prow-robot google-prow-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 1, 2018
@scothis scothis force-pushed the istio-vs-validation branch from 54e3e67 to 4db8876 Compare August 1, 2018 19:44
@google-prow-robot google-prow-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 1, 2018
@scothis
Copy link
Copy Markdown
Contributor Author

scothis commented Aug 1, 2018

/test pull-knative-eventing-integration-tests

At least the tests didn't fail for the reason this PR unblocks

@tcnghia
Copy link
Copy Markdown

tcnghia commented Aug 1, 2018

/lgtm

@google-prow-robot google-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 1, 2018
...it causes 503s
@google-prow-robot google-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Aug 2, 2018
@scothis
Copy link
Copy Markdown
Contributor Author

scothis commented Aug 2, 2018

Tests are passing now PTAL @tcnghia @evankanderson

@tcnghia
Copy link
Copy Markdown

tcnghia commented Aug 2, 2018

/lgtm

@google-prow-robot google-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 2, 2018
@grantr
Copy link
Copy Markdown
Contributor

grantr commented Aug 2, 2018

/cc @mattmoor

This is needed to make the integration test pass.

@n3wscott
Copy link
Copy Markdown
Contributor

n3wscott commented Aug 2, 2018

/lgtm

@evankanderson
Copy link
Copy Markdown
Member

/lgtm
/approve

@google-prow-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: evankanderson, scothis

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

@google-prow-robot google-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 2, 2018
@google-prow-robot google-prow-robot merged commit c3fce1a into knative:master Aug 2, 2018
@scothis scothis deleted the istio-vs-validation branch August 2, 2018 17:54
n3wscott pushed a commit to n3wscott/eventing that referenced this pull request Aug 3, 2018
* Update VirtualSerivce to pass Istio validation

The Istio validator was rejecting VirtualServices created for Channels.
Adding the PortSelector made the validator happy again.

Fixes knative#302

* Use common PortName and PortNumber vars

* Remove PortSelector Name

...it causes 503s
matzew pushed a commit to matzew/eventing that referenced this pull request Oct 14, 2019
Applying 0.9.0 CI runs and patches
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. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants