Skip to content

remove deprecated from OutboundTrafficPolicy. REGISTRY_ONLY and ALLOW_ALL#744

Merged
rshriram merged 6 commits intoistio:release-1.1from
vadimeisenbergibm:allow_traffic_to_unknown_ports_flag
Jan 1, 2019
Merged

remove deprecated from OutboundTrafficPolicy. REGISTRY_ONLY and ALLOW_ALL#744
rshriram merged 6 commits intoistio:release-1.1from
vadimeisenbergibm:allow_traffic_to_unknown_ports_flag

Conversation

@vadimeisenbergibm
Copy link
Copy Markdown
Contributor

related to istio/istio#10330

@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Dec 31, 2018
// Services/Service Entries exist. In particular, it will allow traffic
// to any external service for which no internal/external Service/
// Service Entry exist.
bool allow_traffic_to_unknown_ports = 31;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am fine with this option (I know I suggested this :) ). That said, I also realized we have something similar and unused currently (

message OutboundTrafficPolicy {
). Should we reuse that (keep the virtual_service_only as deprecated, but remove the deprecated for other two enum values, and the deprecated for the outbound_traffic_policy field). One less option to add to global mesh config.

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.

Sounds good, let me do it.

@vadimeisenbergibm vadimeisenbergibm changed the title add allow_traffic_to_unknown_ports flag to meshconfig remove deprecated from OutboundTrafficPolicy. REGISTRY_ONLY and ALLOW_ALL Dec 31, 2018
@vadimeisenbergibm vadimeisenbergibm changed the title remove deprecated from OutboundTrafficPolicy. REGISTRY_ONLY and ALLOW_ALL [WIP] remove deprecated from OutboundTrafficPolicy. REGISTRY_ONLY and ALLOW_ALL Dec 31, 2018
@istio-testing istio-testing added the do-not-merge/work-in-progress Block merging of a PR because it isn't ready yet. label Dec 31, 2018
@vadimeisenbergibm
Copy link
Copy Markdown
Contributor Author

@rshriram How about this change, note the changed comment. Could you please approve it again?

@costinm
Copy link
Copy Markdown
Contributor

costinm commented Dec 31, 2018

/approve

I wonder if this wouldn't be the right place to add "REGISTRY_NAMESPACE_ONLY" - like REGISTRY, but restricted to settings in same namespace.

Long term I expect people will switch to namespace only and the new Sidecar - which should allow '*' ( == allow all).

@istio-testing
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: costinm, vadimeisenbergibm

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

@vadimeisenbergibm vadimeisenbergibm changed the title [WIP] remove deprecated from OutboundTrafficPolicy. REGISTRY_ONLY and ALLOW_ALL remove deprecated from OutboundTrafficPolicy. REGISTRY_ONLY and ALLOW_ALL Dec 31, 2018
@istio-testing istio-testing removed the do-not-merge/work-in-progress Block merging of a PR because it isn't ready yet. label Dec 31, 2018
@rshriram
Copy link
Copy Markdown
Member

Per discussion with @louiscryan , we decided to not do any global flag for the sidecar resource. People have to specify the resource for each namespace.

@rshriram rshriram merged commit ab6f375 into istio:release-1.1 Jan 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants