Skip to content
This repository was archived by the owner on Apr 25, 2022. It is now read-only.

Commit 32b3c42

Browse files
authored
Remove old envoyfilter fields (istio#1344)
* Remove old envoyfilter fields Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io> * updates Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io> * release lock status Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>
1 parent 6bfc9cb commit 32b3c42

File tree

15 files changed

+293
-2619
lines changed

15 files changed

+293
-2619
lines changed

kubernetes/customresourcedefinitions.gen.yaml

Lines changed: 0 additions & 70 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networking/v1alpha3/envoy_filter.gen.json

Lines changed: 0 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,6 @@
1010
"description": "EnvoyFilter provides a mechanism to customize the Envoy configuration generated by Istio Pilot.",
1111
"type": "object",
1212
"properties": {
13-
"workloadLabels": {
14-
"description": "Deprecated. Use workload_selector instead. $hide_from_docs",
15-
"type": "object",
16-
"additionalProperties": {
17-
"type": "string",
18-
"format": "string"
19-
},
20-
"deprecated": true
21-
},
22-
"filters": {
23-
"type": "array",
24-
"items": {
25-
"$ref": "#/components/schemas/istio.networking.v1alpha3.EnvoyFilter.Filter"
26-
},
27-
"deprecated": true
28-
},
2913
"workloadSelector": {
3014
"$ref": "#/components/schemas/istio.networking.v1alpha3.WorkloadSelector"
3115
},
@@ -38,30 +22,6 @@
3822
}
3923
}
4024
},
41-
"istio.networking.v1alpha3.EnvoyFilter.Filter": {
42-
"description": "Deprecated. Envoy filters to be added to a network or http filter chain. $hide_from_docs",
43-
"type": "object",
44-
"properties": {
45-
"listenerMatch": {
46-
"$ref": "#/components/schemas/istio.networking.v1alpha3.EnvoyFilter.DeprecatedListenerMatch"
47-
},
48-
"insertPosition": {
49-
"$ref": "#/components/schemas/istio.networking.v1alpha3.EnvoyFilter.InsertPosition"
50-
},
51-
"filterType": {
52-
"$ref": "#/components/schemas/istio.networking.v1alpha3.EnvoyFilter.Filter.FilterType"
53-
},
54-
"filterName": {
55-
"description": "The name of the filter to instantiate. The name must match a supported filter _compiled into_ Envoy.",
56-
"type": "string",
57-
"format": "string"
58-
},
59-
"filterConfig": {
60-
"description": "Filter specific configuration which depends on the filter being instantiated.",
61-
"type": "object"
62-
}
63-
}
64-
},
6525
"istio.networking.v1alpha3.WorkloadSelector": {
6626
"description": "`WorkloadSelector` specifies the criteria used to determine if the `Gateway`, `Sidecar`, or `EnvoyFilter` configuration can be applied to a proxy. The matching criteria includes the metadata associated with a proxy, workload instance info such as labels attached to the pod/VM, or any other info that the proxy provides to Istio during the initial handshake. If multiple conditions are specified, all conditions need to match in order for the workload instance to be selected. Currently, only label based selection mechanism is supported.",
6727
"type": "object",
@@ -91,84 +51,6 @@
9151
}
9252
}
9353
},
94-
"istio.networking.v1alpha3.EnvoyFilter.DeprecatedListenerMatch": {
95-
"description": "Deprecated. Select a listener to add the filter to based on the match conditions. All conditions specified in the ListenerMatch must be met for the filter to be applied to a listener. $hide_from_docs",
96-
"type": "object",
97-
"properties": {
98-
"portNumber": {
99-
"description": "The service port/gateway port to which traffic is being sent/received. If not specified, matches all listeners. Even though inbound listeners are generated for the instance/pod ports, only service ports should be used to match listeners.",
100-
"type": "integer"
101-
},
102-
"portNamePrefix": {
103-
"description": "Instead of using specific port numbers, a set of ports matching a given port name prefix can be selected. E.g., \"mongo\" selects ports named mongo-port, mongo, mongoDB, MONGO, etc. Matching is case insensitive.",
104-
"type": "string",
105-
"format": "string"
106-
},
107-
"listenerType": {
108-
"$ref": "#/components/schemas/istio.networking.v1alpha3.EnvoyFilter.DeprecatedListenerMatch.ListenerType"
109-
},
110-
"listenerProtocol": {
111-
"$ref": "#/components/schemas/istio.networking.v1alpha3.EnvoyFilter.DeprecatedListenerMatch.ListenerProtocol"
112-
},
113-
"address": {
114-
"description": "One or more IP addresses to which the listener is bound. If specified, should match at least one address in the list.",
115-
"type": "array",
116-
"items": {
117-
"type": "string",
118-
"format": "string"
119-
}
120-
}
121-
}
122-
},
123-
"istio.networking.v1alpha3.EnvoyFilter.DeprecatedListenerMatch.ListenerType": {
124-
"type": "string",
125-
"enum": [
126-
"ANY",
127-
"SIDECAR_INBOUND",
128-
"SIDECAR_OUTBOUND",
129-
"GATEWAY"
130-
]
131-
},
132-
"istio.networking.v1alpha3.EnvoyFilter.DeprecatedListenerMatch.ListenerProtocol": {
133-
"type": "string",
134-
"enum": [
135-
"ALL",
136-
"HTTP",
137-
"TCP"
138-
]
139-
},
140-
"istio.networking.v1alpha3.EnvoyFilter.InsertPosition": {
141-
"description": "Deprecated. Indicates the relative index in the filter chain where the filter should be inserted. $hide_from_docs",
142-
"type": "object",
143-
"properties": {
144-
"index": {
145-
"$ref": "#/components/schemas/istio.networking.v1alpha3.EnvoyFilter.InsertPosition.Index"
146-
},
147-
"relativeTo": {
148-
"description": "If BEFORE or AFTER position is specified, specify the name of the filter relative to which this filter should be inserted.",
149-
"type": "string",
150-
"format": "string"
151-
}
152-
}
153-
},
154-
"istio.networking.v1alpha3.EnvoyFilter.InsertPosition.Index": {
155-
"description": "Index/position in the filter chain.",
156-
"type": "string",
157-
"enum": [
158-
"FIRST",
159-
"LAST",
160-
"BEFORE",
161-
"AFTER"
162-
]
163-
},
164-
"istio.networking.v1alpha3.EnvoyFilter.Filter.FilterType": {
165-
"type": "string",
166-
"enum": [
167-
"INVALID",
168-
"HTTP",
169-
"NETWORK"
170-
]
171-
},
17254
"istio.networking.v1alpha3.EnvoyFilter.ApplyTo": {
17355
"description": "ApplyTo specifies where in the Envoy configuration, the given patch should be applied.",
17456
"type": "string",

0 commit comments

Comments
 (0)