Skip to content

Commit

Permalink
Rename enum to and revert file format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
diemtvu committed Oct 30, 2017
1 parent 49f4ba8 commit cf68f6f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions proxy/v1/config/proxy_mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,15 @@ import "google/protobuf/duration.proto";

package istio.proxy.v1.config;

// AuthenticationPolicy defines authentication policy. It can be set for
// different scopes (mesh, service …), and the most narrow scope with
// non-”DEFAULT” value will be used.
// Mess policy cannot be “DEFAULT”.
enum AuthenticationPolicy {
// Use the policy defined by the parent scope. Should not be used for mesh’s
// policy.
DEFAULT = -1;

// Do not encrypt Envoy to Envoy traffic.
NONE = 0;

Expand Down Expand Up @@ -76,7 +84,7 @@ message ProxyConfig {

// Port on which Envoy should listen for administrative commands.
int32 proxy_admin_port = 11;

// The availability zone where this Envoy instance is running. When running
// Envoy as a sidecar in Kubernetes, this flag must be one of the availability
// zones assigned to a node using failure-domain.beta.kubernetes.io/zone annotation.
Expand All @@ -85,7 +93,7 @@ message ProxyConfig {
// Authentication policy defines the global switch to control authentication
// for Envoy-to-Envoy communication for istio components Mixer and Pilot.
AuthenticationPolicy control_plane_auth_policy = 13;

// File path of custom proxy configuration, currently used by proxies
// in front of Mixer and Pilot.
string custom_config_file = 14;
Expand Down Expand Up @@ -154,7 +162,7 @@ message MeshConfig {
// Defines whether to use Istio ingress controller for annotated or all ingress resources.
IngressControllerMode ingress_controller_mode = 9;

// TODO AuthPolicy needs to be removed and merged with AuthPolicy defined above
// TODO AuthPolicy needs to be removed and merged with AuthPolicy defined above
enum AuthPolicy {
// Do not encrypt Envoy to Envoy traffic.
NONE = 0;
Expand Down

0 comments on commit cf68f6f

Please sign in to comment.