Skip to content

Commit 6a9b49b

Browse files
Reflect the latest Istio version v1alpha3
1 parent c7d93d9 commit 6a9b49b

File tree

8 files changed

+823
-28
lines changed

8 files changed

+823
-28
lines changed

artifacts/flagger/crd.yaml

Lines changed: 226 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,28 +172,247 @@ spec:
172172
description: URI match conditions
173173
type: array
174174
items:
175-
type: object
176175
properties:
177-
uri:
176+
authority:
177+
oneOf:
178+
- not:
179+
anyOf:
180+
- required:
181+
- exact
182+
- required:
183+
- prefix
184+
- required:
185+
- regex
186+
- required:
187+
- exact
188+
- required:
189+
- prefix
190+
- required:
191+
- regex
192+
properties:
193+
exact:
194+
format: string
195+
type: string
196+
prefix:
197+
format: string
198+
type: string
199+
regex:
200+
description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
201+
format: string
202+
type: string
178203
type: object
204+
gateways:
205+
description:
206+
Names of gateways where the rule should be
207+
applied.
208+
items:
209+
format: string
210+
type: string
211+
type: array
212+
headers:
213+
additionalProperties:
214+
oneOf:
215+
- not:
216+
anyOf:
217+
- required:
218+
- exact
219+
- required:
220+
- prefix
221+
- required:
222+
- regex
223+
- required:
224+
- exact
225+
- required:
226+
- prefix
227+
- required:
228+
- regex
229+
properties:
230+
exact:
231+
format: string
232+
type: string
233+
prefix:
234+
format: string
235+
type: string
236+
regex:
237+
description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
238+
format: string
239+
type: string
240+
type: object
241+
type: object
242+
ignoreUriCase:
243+
description:
244+
Flag to specify whether the URI matching should
245+
be case-insensitive.
246+
type: boolean
247+
method:
179248
oneOf:
180-
- required: ["exact"]
181-
- required: ["prefix"]
182-
- required: ["suffix"]
183-
- required: ["regex"]
249+
- not:
250+
anyOf:
251+
- required:
252+
- exact
253+
- required:
254+
- prefix
255+
- required:
256+
- regex
257+
- required:
258+
- exact
259+
- required:
260+
- prefix
261+
- required:
262+
- regex
184263
properties:
185264
exact:
186265
format: string
187266
type: string
188267
prefix:
189268
format: string
190269
type: string
191-
suffix:
270+
regex:
271+
description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
272+
format: string
273+
type: string
274+
type: object
275+
name:
276+
description: The name assigned to a match.
277+
format: string
278+
type: string
279+
port:
280+
description:
281+
Specifies the ports on the host that is being
282+
addressed.
283+
type: integer
284+
queryParams:
285+
additionalProperties:
286+
oneOf:
287+
- not:
288+
anyOf:
289+
- required:
290+
- exact
291+
- required:
292+
- prefix
293+
- required:
294+
- regex
295+
- required:
296+
- exact
297+
- required:
298+
- prefix
299+
- required:
300+
- regex
301+
properties:
302+
exact:
303+
format: string
304+
type: string
305+
prefix:
306+
format: string
307+
type: string
308+
regex:
309+
description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
310+
format: string
311+
type: string
312+
type: object
313+
description: Query parameters for matching.
314+
type: object
315+
scheme:
316+
oneOf:
317+
- not:
318+
anyOf:
319+
- required:
320+
- exact
321+
- required:
322+
- prefix
323+
- required:
324+
- regex
325+
- required:
326+
- exact
327+
- required:
328+
- prefix
329+
- required:
330+
- regex
331+
properties:
332+
exact:
333+
format: string
334+
type: string
335+
prefix:
336+
format: string
337+
type: string
338+
regex:
339+
description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
340+
format: string
341+
type: string
342+
type: object
343+
sourceLabels:
344+
additionalProperties:
345+
format: string
346+
type: string
347+
type: object
348+
sourceNamespace:
349+
description:
350+
Source namespace constraining the applicability
351+
of a rule to workloads in that namespace.
352+
format: string
353+
type: string
354+
uri:
355+
oneOf:
356+
- not:
357+
anyOf:
358+
- required:
359+
- exact
360+
- required:
361+
- prefix
362+
- required:
363+
- regex
364+
- required:
365+
- exact
366+
- required:
367+
- prefix
368+
- required:
369+
- regex
370+
properties:
371+
exact:
372+
format: string
373+
type: string
374+
prefix:
192375
format: string
193376
type: string
194377
regex:
378+
description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
195379
format: string
196380
type: string
381+
type: object
382+
withoutHeaders:
383+
additionalProperties:
384+
oneOf:
385+
- not:
386+
anyOf:
387+
- required:
388+
- exact
389+
- required:
390+
- prefix
391+
- required:
392+
- regex
393+
- required:
394+
- exact
395+
- required:
396+
- prefix
397+
- required:
398+
- regex
399+
properties:
400+
exact:
401+
format: string
402+
type: string
403+
prefix:
404+
format: string
405+
type: string
406+
regex:
407+
description: RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).
408+
format: string
409+
type: string
410+
type: object
411+
description:
412+
withoutHeader has the same syntax with the
413+
header, but has opposite meaning.
414+
type: object
415+
type: object
197416
retries:
198417
description: Retry policy for HTTP requests
199418
type: object

0 commit comments

Comments
 (0)