Commit Graph

176 Commits

Author SHA1 Message Date
Pengyuan Bian 5945a02236 add server_name to mixer remote handler tls / mtls (#789)
* add server_name to mixer remote handler tls / mtls

* proto.lock
2019-02-15 10:47:28 -05:00
Joshua Blatt 07829e06ca Add transport error retry config to mixer client. (#792) 2019-02-10 21:19:52 -05:00
Andra Cismaru 3094619c84 Add subject_alt_names field in ServiceEntry (#785)
* Add service_accounts field in ServiceEntry

* Ran make proto-commit

* Added example with format

* Rename to subject_alt_names

* Move example out of the message definition

* Added a period

* Remove hide_from_docs
2019-02-05 13:26:00 -08:00
Shriram Rajagopalan e3015e7a46 Fixing SDS field/semantics in the gateway (#780)
* Enabling SDS in the gateway

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

* lint

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

* nits

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

* cleanups

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

* update

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

* updates

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

* protolock

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2019-01-31 15:56:14 -08:00
Shriram Rajagopalan d5da499b61
revert sds name (#781)
Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2019-01-30 20:15:20 -05:00
Douglas Reid 1b0a034631 Add way to signal encoding used for CompressedAttributes to Mixer (#770)
* Add mechanism to signal encoding used for CompressedAttributes to mixer proto

* Update proto.lock
2019-01-30 11:02:42 -08:00
Shriram Rajagopalan 5c6aec28eb
Revert "Enabling SDS in the gateway (#778)" (#779)
This reverts commit 3c7e31a648.
2019-01-29 19:40:38 -05:00
Shriram Rajagopalan 3c7e31a648
Enabling SDS in the gateway (#778)
* Enabling SDS in the gateway

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

* lint

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2019-01-29 19:38:36 -05:00
Louis Ryan b524b1eb29 Replace 'scope' with 'export_to' namespace (#758)
* Replace public/private scoping with namespace scoped exports
Add flags to control scopeTo defaults
Update doc for locality weighted LB

* Hide from docs and other misc fixes
2019-01-28 15:31:48 -05:00
Jimmy Chen b2beb75c6b Add sds_name into gateway config. (#772)
* Add sds_name into gateway config

* Update comment

* Update comment
2019-01-24 10:28:51 -08:00
Kuat 0dd68ef13c add response headers (#769)
Signed-off-by: Kuat Yessenov <kuat@google.com>
2019-01-22 12:08:18 -08:00
Kuat 91619d730f policy: add direct response (#765)
* add direct response

Signed-off-by: Kuat Yessenov <kuat@google.com>

* linter

Signed-off-by: Kuat Yessenov <kuat@google.com>

* linter

Signed-off-by: Kuat Yessenov <kuat@google.com>

* some commit

Signed-off-by: Kuat Yessenov <kuat@google.com>

* silly

Signed-off-by: Kuat Yessenov <kuat@google.com>

* silly

Signed-off-by: Kuat Yessenov <kuat@google.com>
2019-01-22 08:24:58 -08:00
Zhonghu Xu 6286ff0e63 Locality LB failover api (#760)
* mesh wide locality loadbalancer api

* generate

* generate
2019-01-20 17:49:56 -08:00
Diem Vu aec9db9d9a Add option to select worload using lables for authn policy. (#755)
* Add option to select workload using labels for authn policy

* Make proto-commit
2019-01-16 12:55:48 -08:00
Jason Young 2dadb9eaaf add optional incremental flag to ResponseSink and ResourceSource services (#762) 2019-01-16 09:24:49 -08:00
Jason Young aa7083e882 Introduce forward looking MCP enhancements (#741)
* Introduce forward looking MCP enhancements

The initial version of Mesh Configuration Protocol (MCP) was
introduced to decouple Pilot/Mixer from the k8s kube-apiserver. These
enhancements address additional forward looking requirements as we
bring Galley and the MCP API to beta quality.

* Enable alternative control topologies where the source of
  configuration is not publicly accessible.

* Provide a feedback mechanism to report the observed config state to
  the user (e.g via CRD status).

* Improve performance at scale (e.g. Enterprise use case)

* Rationalize the resource model

The intent is to introduce these backwards incompatible API changes
now before Galley and MCP ship as beta quality and on-by-default.

Rationalization of the resource model and incremental improvements can
be implemented immediately as they effect the contract between Pilot
and Galley. Alternative control topologies and feedback/status are
inherently new features and can be implemented later with the same
APIs without concerns of breaking compatibility.

Design proposal: https://goo.gl/RTKMwF

* fix linter error

* add missing generated file

* proto-commit

* remove python/istio_api/mcp/v1alpha1/envelope_pb2.py

* s/envelope/resource

* s/client/node

* make proto-commit

* fix comments

* add system_version_info for compatibility with non-incremental MCP

* address review comments

* s/node/sink_node

* address more review comments

* update resource name documentation
2019-01-09 10:31:45 -08:00
Shriram Rajagopalan 448faa9b3c Sidecar config resource (#742)
* renaming

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

* Sidecar

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

* gateway updates

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

* tweaks

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

* update protolock

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

* add workloadSelector to EnvoyFilter

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

* update comments

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

* feedback

* tweaks

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

* capture mode

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

* nits

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2019-01-07 13:10:44 -08:00
Pengyuan Bian d793e6c907 rename report_session_affinity. (#747) 2019-01-04 09:53:50 -05:00
Pengyuan Bian 4238d2d87b Add Mixer Report Session Affinity into Mesh Config (#746)
* add session affinity option.

* proto lock
2019-01-03 09:45:42 -08:00
Vadim Eisenberg ab6f375bdc remove deprecated from OutboundTrafficPolicy. REGISTRY_ONLY and ALLOW_ALL (#744)
* add allow_traffic_to_unknown_ports flag to meshconfig

related to https://github.com/istio/istio/issues/10330

* update proto.lock

* Revert "update proto.lock"

This reverts commit d1d3a0275a.

* Revert "add allow_traffic_to_unknown_ports flag to meshconfig"

This reverts commit e6fd415e2f.

* remove deprecated from OutboundTrafficPolicy. REGISTRY_ONLY and ALLOW_ALL

* remove deprecated from Mode and outbound_traffic_policy
2019-01-01 10:57:15 -05:00
Zhonghu Xu 08a19da534 Add per service locality weight setting (#726)
* Add locality weight setting

* generate

* Add locality weight setting

* generate

* Add locality weight setting

* make proto commit
2018-12-28 23:41:20 -05:00
Pengyuan Bian 80aff01d40 oop adapter connection auth config (#606)
* grpc adapter connection auth.

* proto.lock.
2018-12-14 14:34:47 -08:00
Quanjie Lin b1978437bd add enable_sds_k8s_sa_jwt flag to meshconfig (#729)
* add enable_sds_k8s_sa_jwt flag to meshconfig

* fix build

* update comment and rename
2018-12-11 14:05:28 -08:00
Shriram Rajagopalan 49946a7daf
rename NetworkScope to ServiceDependency (#720)
* rename NetworkScope to ServiceDependency

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

* update

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2018-11-28 22:24:25 -05:00
Shriram Rajagopalan 4f643c9854
NetworkScopes (#719)
* default network scope

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

* protolock

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

* doc update

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

* NetworkScopes

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

* proto lock

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

* updates

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

* default network scope

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

* doc updates

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

* updates

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

* rename

* nits and final updates

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2018-11-28 15:09:16 -05:00
Itay Shakury 1a7788d738 allow setting headers (#709)
* refactor headers

* proto-commit

* settle num entries with 1.1 state
2018-11-25 19:40:04 -08:00
Shakti Das fd493665dc API changes to enable TCP keepalive configuration. (#718)
* API changes to enable TCP keepalive configuration.

Signed-off-by: Shakti <shaktiprakash.das@salesforce.com>

* Added probes configuration to tcp_keepalive.

Signed-off-by: Shakti <shaktiprakash.das@salesforce.com>

* Updated description to 'time duration'.

Signed-off-by: Shakti <shaktiprakash.das@salesforce.com>
2018-11-25 07:48:03 -08:00
Gregory Hanson a48276b531 add access log encoding (#713) 2018-11-19 14:56:02 -08:00
Gregory Hanson 44363fb191 Revert "fix naming convention between access log format vs encoding (#711)" (#712)
This reverts commit 60483a526b.
2018-11-19 14:36:02 -08:00
Gregory Hanson 60483a526b fix naming convention between access log format vs encoding (#711) 2018-11-19 12:53:01 -08:00
Shriram Rajagopalan afb4e0828e Merge remote-tracking branch 'origin/master' into release-1.1 2018-11-14 10:00:45 -05:00
Shriram Rajagopalan 56c82136df
Adding weights to service entry endpoints (#704)
* add dynamic state to attribute list

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

* Adding weights to service entry endpoints

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

* undo
2018-11-12 12:20:59 -05:00
Shriram Rajagopalan c5d2d4fdf9 Merge remote-tracking branch 'origin/release-1.1' into r11tom 2018-11-08 16:04:40 -05:00
Kevin Conner d03e770930 Add support for healthy panic threshold (#486) (#496) 2018-11-08 16:04:04 -05:00
Shriram Rajagopalan 072d625e0b Merge remote-tracking branch 'origin/release-1.1' into r11tom 2018-11-08 13:53:09 -05:00
Quanjie Lin 11e496c875 add trust domain to meshconfig (#697)
* add trust domain to meshconfig

* fix build

* add comment
2018-11-07 14:22:01 -08:00
Venil Noronha 6b9e3a501e Add TcpClusterRewrite config proto (#693)
This commit adds a TcpClusterRewrite proto to be used in the upcoming
TCP cluster rewrite filter on istio/proxy.

Signed-off-by: Venil Noronha <veniln@vmware.com>
2018-11-02 13:47:20 -04:00
Jeff Mendoza bac7f54431 Merge mixer protos (#691)
* Merge mixer protos.

* Remove renamed generated files.

* Regen mixer files

* Remove mixer lint exception.
2018-11-02 08:22:12 -07:00
Jeff Mendoza 20d2d5dd62 Fix style for TLS enum in networking. (#690)
* Fix style for TLS enum in networking.

* Regen with new networking proto.
2018-11-01 19:28:54 -04:00
Gregory Hanson 7ce9562e50 re-add deprecated fields, but hide from docs. also resurrect outbound traffic policy config (#680) 2018-10-31 10:13:07 -04:00
Pengyuan Bian 4a0e55ed2b add stdduration annotation. (#673) 2018-10-26 16:01:10 -07:00
Zhonghu Xu ff7edaf15a use lowercase_with_underscore for field name `retry_on` (#681) 2018-10-26 06:45:10 -07:00
Zhonghu Xu e9d86f9b88 Add HTTPRetry config to allow setting retryOn policy (#679) 2018-10-25 12:15:21 -04:00
Yangmin Zhu 9e5a9173e6 Add mesh config to allow setting network policy fail open (#670) 2018-10-23 13:25:54 -07:00
Shriram Rajagopalan e23ad3b761
MCP server configuration (#669)
* MCP server configuration

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

* nits

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2018-10-22 18:23:40 -04:00
Yossi Mesika 0b1e20cf24 Added MeshNetworks (#666) 2018-10-21 10:57:43 -04:00
Shriram Rajagopalan b3f5d5de82
Updating description of network definitions (#664)
* clarity

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

* renaming

* nits

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2018-10-21 09:40:26 -04:00
Shriram Rajagopalan 141ca6126a Multicluster/partial-registry view network configuration API (#656)
* Multicluster mesh config

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

* updates

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

* undo breaking changes

* nits

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

* undo changes

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2018-10-19 13:55:44 -07:00
Shriram Rajagopalan 802acc1b74
undo breaking change (#661)
Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2018-10-19 14:26:02 -04:00
Gregory Hanson ce64118414 add field to global config for setting the access log format to text or json (#660)
* add field to global config for setting the access log format to text or json

* move field next to access_log_file but retain original numbering
2018-10-19 13:19:12 -04:00
Pengyuan Bian 19a5193e53 Add timeout to mixer remote handler. (#659) 2018-10-18 22:15:44 -07:00
Quanjie Lin 4456dece9f add flag to meshconfig to indicate whether token volume mount it enabled (#658)
* add flag to indicate whether token volume mount is enabled in meshconfig

* rename the flag

* update comment

* update comment from review comments
2018-10-18 18:36:44 -07:00
Shriram Rajagopalan 246cae3eb3 Cleanup Mesh config (#657)
* Cleanup Mesh config

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

* missing files
2018-10-18 07:33:45 -07:00
Kuat 890f95fd18 policy: add missing APA attribute bindings (#655)
* add missing APA attribute bindings

Signed-off-by: Kuat Yessenov <kuat@google.com>

* review

Signed-off-by: Kuat Yessenov <kuat@google.com>

* rename to output

Signed-off-by: Kuat Yessenov <kuat@google.com>
2018-10-17 15:02:45 -07:00
Shriram Rajagopalan 0b70b6093b Updates to service entries (#646)
* SE spiffe ID

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

* more updates

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

* nits

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

* combined updates

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

* combined updates

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

* nits

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

* nits

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

* nuke san from dr

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

* auto passthrough

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

* remove san from service entry

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2018-10-16 13:55:44 -07:00
Douglas Reid e000c2a298 Add sampling parameters to Rule (#648)
* Add sampling params to Rule

* Refactor based on review comments

* Use attribute expression

* Hide new fields (until impl is done)

* Fix comment
2018-10-11 10:37:43 -07:00
Julian Griggs aa2c2a8441 Add option for LightStep tracing to ProxyConfig (#638)
* Add option to use LightStep as a tracing backend.

* Update docs: LightstepCollector takes precedence over zipkin conf

* Add parameter for cacert to use when authenticating LightStep Satellite

* Add more detail to ca cert comment

* Consolidate tracing config into its own message
2018-10-04 20:52:15 -04:00
Isaiah Snell-Feikema 63c5c7780f 1st pass of fields (#645) 2018-10-02 11:32:44 -04:00
Frank Budinsky 96d74ee7cf Rename DestinationWeight and cleanup add/remove headers (#641) 2018-09-28 12:39:39 -07:00
Gregory Hanson 0cf306e2fd remove out of date fields from config (#639) 2018-09-26 16:33:57 -04:00
Quanjie Lin 66290ace31 remove sdsrefreshdelay from meshconfig (#637) 2018-09-20 16:00:39 -04:00
Wayne Zhang 62c345bd6d add arena allocation for mixer client proto (#635)
* add arena allocation for mixer client proto

Signed-off-by: Wayne Zhang <qiwzhang@google.com>

* add generated files

Signed-off-by: Wayne Zhang <qiwzhang@google.com>
2018-09-17 15:09:31 -07:00
Omer Sadika 61f383587e added 3 new fields to DestinationWeight: append_headers, remove_response_headers and append_response_headers. (#626) 2018-09-13 20:37:22 -07:00
Weibin Lin cd120b3f54 remove deprecated MixerAddress (#624) 2018-09-13 15:28:19 -04:00
Yangmin Zhu beee2ce09c Revert the deprecation of peer_is_optional and origin_is_optional. (#630)
We think it's too early to deprecate these fkags as some users are
using them. The previous deprecation change is on master branch only
and not included in the Istio 1.0 documentation.
2018-09-10 20:47:44 -07:00
Jason Young 2198cccdc2 add incremental mcp support (#620)
* add incremental mcp based on incremental xds

Extend the MCP to include support for incremental configuration
pushes. This is *heavily* derived from the new incremental xDS
protocol.

xref: https://github.com/envoyproxy/data-plane-api/blob/master/XDS_PROTOCOL.md#incremental-xds

* document initial_resource_versions should only be included in first request

* move resource version into metadata
2018-08-27 11:50:57 -07:00
Jason Young fccf4189d6 add create_time to mcp resource envelope (#622) 2018-08-27 11:08:58 -07:00
Kuat fac61dc6aa add new check template (#619)
Signed-off-by: Kuat Yessenov <kuat@google.com>
2018-08-22 05:19:33 -07:00
Jason Young a3d84057e2 add galley service address to mesh config (#616) 2018-08-20 12:20:33 -07:00
Venil Noronha 214c7598af Deprecate int percent in favor of double percentage (#609)
* Deprecate int percent in favor of FractionalPercent

This commit deprecates the integer percent field in Delay and Abort
types in favor of the new FractionalPercent type which allows finer
control.

Signed-off-by: Venil Noronha <veniln@vmware.com>

* Remove FractionalPercent and use double for percentage

Signed-off-by: Venil Noronha <veniln@vmware.com>

* Fix docs related to the percentage field

Signed-off-by: Venil Noronha <veniln@vmware.com>

* Copy envoy.type.Percent proto definition

* The "type" in envoy.type.Percent is renamed to "types" in
istio.envoy.types.Percent to avoid a keyword conflict in Golang.

* The Makefile splits the *.pb.go file generation for v2alpha1/*.proto
and types/*.proto in order to avoid the "inconsistent package names"
error in protoc-gen-go.

Signed-off-by: Venil Noronha <veniln@vmware.com>

* Use istio.envoy.types.Percent for percentage

Signed-off-by: Venil Noronha <veniln@vmware.com>

* Revert copy envoy.type.Percent and its usage

Signed-off-by: Venil Noronha <veniln@vmware.com>

* Add and use Percent type in virtual_service.proto

Signed-off-by: Venil Noronha <veniln@vmware.com>
2018-08-17 15:27:45 -04:00
Kuat 864a7336a1 mixer: add header operation templates (#612)
* add header operation templates

Signed-off-by: Kuat Yessenov <kuat@google.com>

* comment

Signed-off-by: Kuat Yessenov <kuat@google.com>

* add comment

Signed-off-by: Kuat Yessenov <kuat@google.com>

* add comment

Signed-off-by: Kuat Yessenov <kuat@google.com>

* use repeated

Signed-off-by: Kuat Yessenov <kuat@google.com>
2018-08-16 17:09:32 -07:00
Yangmin e0ffa87228 move common.StringMatcher to policy.proto (#614) 2018-08-16 15:33:57 -07:00
Yangmin 33feaf42f8 Update JWT to support per-path validation. (#607)
* Update JWT to support per-path validation.

* update based on discussions.

* address comments.
2018-08-14 19:37:31 -07:00
Yangmin fe4a677a40 Hide peer_is_optional and origin_is_optional from docs for later deprecation (#602)
* Hide peer_is_optional and origin_is_optional from docs for later deprecation.

* update
2018-08-09 18:30:30 -07:00
Yangmin 961e28fa67 jwt: add a excluded_path to jwt policy for health check support. (#594)
* jwt: add a excluded_path to jwt policy for health check support.

* make StringMatch reusable.
2018-07-27 12:20:40 -07:00
Shriram Rajagopalan f4733971fb
destination_subnet to destination_subnets (#584)
Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2018-07-16 11:27:58 -04:00
Shriram Rajagopalan 4464ccf06b
Bring back array of destination subnets (#582)
Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2018-07-13 15:07:11 -04:00
Jason Young dd1d174ddf remove legacy routing apis (#581) 2018-07-13 12:47:35 -04:00
Jason Young 76f27f20f1 remove broker api definitions (#573) 2018-07-07 10:52:39 -07:00
Zach Gershman 702662575f Bump release-1.0 (#572)
* Add a Readme.md file for the MCP protocol. (#565)

* Add a Readme.md file for the MCP protocol.

* Add a link to the XDS protocol.

* source_ip field is bool (#568)

* source_ip field is bool

- on the envoy side the source_ip field is
used as an indicator to determine whether or not
to use it as the hash value.

2c3c3e7546/api/envoy/api/v2/route/route.proto (L535)

* field now called use_source_ip

* Fix typos in comments. (#571)
2018-07-05 14:00:10 -04:00
Ozben Evren 80b4a7b836 Move config/mcp => mcp (#569)
* Add a Readme.md file for the MCP protocol.

* Move config/mcp to mcp. This does not include fixups.

* Complete the move config/mcp => mcp.

Fixup names, and regenerate code/documents.

* Add missing Python files.
2018-07-03 21:02:25 -07:00
Utako Ueda 2d182f5d15 update minimum_ring_size to uint64 (#564)
to be consistent with envoy v2 api minimum_ring_size:
79bce5fe1c/api/envoy/api/v2/cds.proto (L351-L358)
2018-07-02 15:05:59 -07:00
Utako Ueda 5c68ae6fa9 update cookie to use time.Duration (#563)
* update cookie to use time.Duration

destination rule should use time.Duration for its cookie to be
consistent with Envoy's api.

* update envoy_filter

* update destination_rule python as well
2018-07-02 13:27:37 -07:00
Shriram Rajagopalan 53c85fce88
Fix consistent hash LB and TLS (#562)
Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2018-07-02 10:20:32 -07:00
cmluciano f9a7a88b87 use correct removeresponseheaders type (#560)
* RemoveResponseHeaders should be a repeated string instead of a map

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>

* Add removeResponseHeaders generated code

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2018-06-29 10:12:29 -07:00
Jason Young 5c19bec52d add missing gogoproto.equal_all option to mcp envelope and metadata (#554) 2018-06-21 13:53:56 -07:00
Jason Young c977bae572 Add the Mesh Configuration Protocol (MCP) service. (#552)
* Add the Mesh Configuration Protocol (MCP) service.

The MCP service is to be used as a environment neutral downward API
for some Istio runtime components. Motivation for the MCP service
along with high-level design proposals are documented in the following
two docs:

* Pilot Decomposition (see https://goo.gl/qAsEQx)
* Galley component config distirbution (see https://goo.gl/EJu5hg)

MCP is conceptually aligned with envoy project's xDS protocol and ADS
service (see
https://github.com/envoyproxy/data-plane-api/blob/master/XDS_PROTOCOL.md). The
proto definitions are derived from the envoy API definitions with
unnecessary or envoy specific messages and fields removed. Names have
also been changed to make it unambiguous with xDS protocol.

* add missing generated files

* re-generate files

* address @geeknoid review comments

* update client comment
2018-06-21 12:56:56 -07:00
Quanjie Lin bd40812e1e add enable_sds flag to MeshConfig proto definition (#547)
* add enable_sds flag to MeshConfig proto definition

* address comments -
1. update boolean(sds_enable) to string(uds path)
2. add sds_refresh_delay field

* address comment
2018-06-20 10:38:55 -07:00
Shriram Rajagopalan 0d23676d8a Explicit SNI routing in VirtualService (#549)
* SNI routing primitives

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

* updates

* remove ALPN

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

* more doc tweaks

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

* nits

* nits

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2018-06-20 09:40:55 -07:00
Shriram Rajagopalan 1d135c6d2e
Revert "SNI routing primitives (#546)" (#548)
This reverts commit 3f90a768a1.

This PR was merged prematurely. Needs more work.
2018-06-19 22:19:24 -04:00
Shriram Rajagopalan 3f90a768a1 SNI routing primitives (#546)
* SNI routing primitives

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

* updates
2018-06-19 16:57:55 -07:00
Shriram Rajagopalan deda82b83a
fix plurality of EnvoyFilter (#545)
* fix plurality of EnvoyFilter

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

* more conditions
2018-06-19 09:46:48 -04:00
Shriram Rajagopalan 545c7300f1 Use port names and numbers for filter match (#540)
* Pilot plugin configurations

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

* redo envoy filters

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

* nits

* new ci image

* updates

* updates

* updates
2018-06-18 11:09:55 -07:00
Kuat 7c8f38470c mesh: client side check option (#528)
* client side check option

Signed-off-by: Kuat Yessenov <kuat@google.com>

* regenerate

Signed-off-by: Kuat Yessenov <kuat@google.com>

* build is bad

Signed-off-by: Kuat Yessenov <kuat@google.com>
2018-06-14 19:50:00 -07:00
Ozben Evren d9c69f7a8e Rename Resource => Envelope & Resource.contents => Envelope.resource. (#533)
* Rename Resource => Envelope & Resource.contents => Envelope.resource.

* Add missing python file.
2018-06-14 09:57:00 -07:00
Shriram Rajagopalan a2c69bea9e Envoy filter configurations (#447)
* Pilot plugin configurations

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

* redo envoy filters

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

* nits

* new ci image

* updates
2018-06-14 09:53:00 -07:00
Ozben Evren add0cbc47b Add core MCP protocol protos. (#531)
* Add core MCP protocol protos.

* Accommodate CR feedback.

* Accommodate CR feedback.

* Accommodate CR feedback.

* Accommodate CR feedback.
2018-06-14 09:34:59 -07:00
Diem Vu fe829db48c Remove mtls_excluded_services from mesh config. (#511)
* Mark mtls_excluded_services deprecated.

* Remove mtls_excluded_services flag completely.
2018-06-11 20:27:58 -07:00
Sunny Gupta 8c4ad02445 Create a separate field compiled in template and compiled in adapters. (#526)
* Create a separate field for referencing compiled in template and compiled in adapters.

* rename
2018-06-11 18:49:58 -07:00
Shriram Rajagopalan 2f201341f1
TCP outlier detection (#515)
Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>
2018-06-08 17:09:27 -04:00