@@ -18,7 +18,14 @@ import "google/protobuf/duration.proto";
18
18
19
19
package istio.proxy.v1.config ;
20
20
21
+ // AuthenticationPolicy defines authentication policy. It can be defined at
22
+ // the mesh level or per-service (and even lower, e.g per-deployment).
23
+ // Policy from lower level, if know, will overrule those above it.
21
24
enum AuthenticationPolicy {
25
+ // Indicate policy should be derived from 'parent'
26
+ // This should never be used for mesh's policy.
27
+ UNKNOWN = -1;
28
+
22
29
// Do not encrypt Envoy to Envoy traffic.
23
30
NONE = 0 ;
24
31
@@ -29,7 +36,8 @@ enum AuthenticationPolicy {
29
36
// ProxyConfig defines variables for individual Envoy instances.
30
37
message ProxyConfig {
31
38
// Path to the generated configuration file directory.
32
- // Proxy agent generates the actual configuration and stores it in this directory.
39
+ // Proxy agent generates the actual configuration and stores it in this
40
+ // directory.
33
41
string config_path = 1 ;
34
42
35
43
// Path to the proxy binary
@@ -62,7 +70,8 @@ message ProxyConfig {
62
70
// Address of the discovery service exposing xDS (e.g. _istio-pilot:8080_).
63
71
string discovery_address = 6 ;
64
72
65
- // Polling interval for service discovery (used by EDS, CDS, LDS, but not RDS). (MUST BE >=1ms)
73
+ // Polling interval for service discovery (used by EDS, CDS, LDS, but not
74
+ // RDS). (MUST BE >=1ms)
66
75
google.protobuf.Duration discovery_refresh_delay = 7 ;
67
76
68
77
// Address of the Zipkin service (e.g. _zipkin:9411_).
@@ -76,29 +85,30 @@ message ProxyConfig {
76
85
77
86
// Port on which Envoy should listen for administrative commands.
78
87
int32 proxy_admin_port = 11 ;
79
-
88
+
80
89
// The availability zone where this Envoy instance is running. When running
81
90
// Envoy as a sidecar in Kubernetes, this flag must be one of the availability
82
- // zones assigned to a node using failure-domain.beta.kubernetes.io/zone annotation.
91
+ // zones assigned to a node using failure-domain.beta.kubernetes.io/zone
92
+ // annotation.
83
93
string availability_zone = 12 ;
84
94
85
95
// Authentication policy defines the global switch to control authentication
86
96
// for Envoy-to-Envoy communication for istio components Mixer and Pilot.
87
97
AuthenticationPolicy control_plane_auth_policy = 13 ;
88
-
98
+
89
99
// File path of custom proxy configuration, currently used by proxies
90
100
// in front of Mixer and Pilot.
91
101
string custom_config_file = 14 ;
92
102
93
- // Maximum length of name field in Envoy's metrics. The length of the name field
94
- // is determined by the length of a name field in a service and the set of labels that
95
- // comprise a particular version of the service. The default value is set to 189 characters.
96
- // Envoy's internal metrics take up 67 characters, for a total of 256 character name per metric.
97
- // Increase the value of this field if you find that the metrics from Envoys are truncated.
103
+ // Maximum length of name field in Envoy's metrics. The length of the name
104
+ // field is determined by the length of a name field in a service and the set
105
+ // of labels that comprise a particular version of the service. The default
106
+ // value is set to 189 characters. Envoy's internal metrics take up 67
107
+ // characters, for a total of 256 character name per metric. Increase the
108
+ // value of this field if you find that the metrics from Envoys are truncated.
98
109
int32 stat_name_length = 15 ;
99
110
}
100
111
101
-
102
112
// MeshConfig defines mesh-wide variables shared by all Envoy instances in the
103
113
// Istio service mesh.
104
114
message MeshConfig {
@@ -151,10 +161,12 @@ message MeshConfig {
151
161
STRICT = 2 ;
152
162
}
153
163
154
- // Defines whether to use Istio ingress controller for annotated or all ingress resources.
164
+ // Defines whether to use Istio ingress controller for annotated or all
165
+ // ingress resources.
155
166
IngressControllerMode ingress_controller_mode = 9 ;
156
167
157
- // TODO AuthPolicy needs to be removed and merged with AuthPolicy defined above
168
+ // TODO AuthPolicy needs to be removed and merged with AuthPolicy defined
169
+ // above
158
170
enum AuthPolicy {
159
171
// Do not encrypt Envoy to Envoy traffic.
160
172
NONE = 0 ;
@@ -178,10 +190,10 @@ message MeshConfig {
178
190
// Empty value disables access logging.
179
191
string access_log_file = 13 ;
180
192
181
- // Default proxy config used by the proxy injection mechanism operating in the mesh
182
- // (e.g. Kubernetes admission controller)
183
- // In case of Kubernetes, the proxy config is applied once during the injection process,
184
- // and remain constant for the duration of the pod. The rest of the mesh config can be changed
185
- // at runtime and config gets distributed dynamically.
193
+ // Default proxy config used by the proxy injection mechanism operating in the
194
+ // mesh (e.g. Kubernetes admission controller) In case of Kubernetes, the
195
+ // proxy config is applied once during the injection process, and remain
196
+ // constant for the duration of the pod. The rest of the mesh config can be
197
+ // changed at runtime and config gets distributed dynamically.
186
198
ProxyConfig default_config = 14 ;
187
199
}
0 commit comments