Skip to content

MCP server configuration#669

Merged
rshriram merged 2 commits intoistio:masterfrom
rshriram:data_sources
Oct 22, 2018
Merged

MCP server configuration#669
rshriram merged 2 commits intoistio:masterfrom
rshriram:data_sources

Conversation

@rshriram
Copy link
Copy Markdown
Member

Signed-off-by: Shriram Rajagopalan shriramr@vmware.com

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
// protocol (MCP). Can be IP address or a fully qualified DNS name.
string address = 1;

// Use the tls_settings to specify the tls mode to use. If the MCP server
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Please note: we need to specify TLS settings here because ultil we talk to a MCP server, we can't get destination rules etc. Also, these settings are for Pilot internal implementation (go/mtls, etc.) and not meant for Envoy. So, asking people to specify a destination rule will create bootstrap issues within Pilot code.

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
Copy link
Copy Markdown
Contributor

@ZackButcher ZackButcher left a comment

Choose a reason for hiding this comment

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

LGTM, worth thinking about resurrecting the full oneof for the different config types (k8s, file system, MCP server, etc), but I think we can get by with just a simple address to start with.

message ConfigSource {
// Address of the server implementing the Istio Mesh Configuration
// protocol (MCP). Can be IP address or a fully qualified DNS name.
// Use file:/// to specify a file-based backend with absolute path to the directory.
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.

Suggested change
// Use file:/// to specify a file-based backend with absolute path to the directory.
// Use file:// to specify a file-based backend with absolute path to the directory.

@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 Oct 22, 2018
@istio-testing
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

If they are not already assigned, you can assign the PR to them by writing /assign @rshriram 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

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

@rshriram rshriram merged commit e23ad3b into istio:master Oct 22, 2018
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.

4 participants