@@ -3,82 +3,87 @@ apiVersion: apiextensions.k8s.io/v1beta1
33kind : CustomResourceDefinition
44metadata :
55 name : traffictargets.access.smi-spec.io
6- spec :
6+ spec :
77 group : access.smi-spec.io
88 scope : Namespaced
9- names :
9+ names :
1010 kind : TrafficTarget
1111 shortNames :
1212 - tt
1313 plural : traffictargets
1414 singular : traffictarget
15- version : v1alpha1
15+ version : v1alpha2
1616 versions :
17- - name : v1alpha1
17+ - name : v1alpha2
1818 served : true
1919 storage : true
20+ - name : v1alpha1
21+ served : false
22+ storage : false
2023 validation :
2124 openAPIV3Schema :
22- required :
23- - destination
2425 properties :
25- destination :
26- description : The destination of this traffic target.
27- type : object
26+ spec :
2827 required :
29- - name
30- - kind
28+ - destination
3129 properties :
32- kind :
33- description : Kind of the destination.
34- type : string
35- name :
36- description : Name of the destination.
37- type : string
38- namespace :
39- description : Namespace of the destination.
40- type : string
41- port :
42- description : Port number of the destination.
43- type : number
44- specs :
45- description : Specifications of this traffic target.
46- type : array
47- items :
48- type : object
49- required :
50- - name
51- - kind
52- properties :
53- kind :
54- description : Kind of this spec.
55- type : string
56- enum :
57- - HTTPRouteGroup
58- - TCPRoute
59- name :
60- description : Name of this spec.
61- type : string
62- matches :
63- description : Match conditions of this spec.
64- type : array
65- items :
30+ destination :
31+ description : The destination of this traffic target.
32+ type : object
33+ required :
34+ - name
35+ - kind
36+ properties :
37+ kind :
38+ description : Kind of the destination.
39+ type : string
40+ name :
41+ description : Name of the destination.
42+ type : string
43+ namespace :
44+ description : Namespace of the destination.
6645 type : string
67- sources :
68- description : Sources of this traffic target.
69- type : array
70- items :
71- type : object
72- required :
73- - name
74- - kind
75- properties :
76- kind :
77- description : Kind of this source.
78- type : string
79- name :
80- description : Name of this source.
81- type : string
82- namespace :
83- description : Namespace of this source.
84- type : string
46+ port :
47+ description : Port number of the destination.
48+ type : number
49+ rules :
50+ description : Specifications of this traffic target.
51+ type : array
52+ items :
53+ type : object
54+ required :
55+ - name
56+ - kind
57+ properties :
58+ kind :
59+ description : Kind of this spec.
60+ type : string
61+ enum :
62+ - HTTPRouteGroup
63+ - TCPRoute
64+ name :
65+ description : Name of this spec.
66+ type : string
67+ matches :
68+ description : Match conditions of this spec.
69+ type : array
70+ items :
71+ type : string
72+ sources :
73+ description : Sources of this traffic target.
74+ type : array
75+ items :
76+ type : object
77+ required :
78+ - name
79+ - kind
80+ properties :
81+ kind :
82+ description : Kind of this source.
83+ type : string
84+ name :
85+ description : Name of this source.
86+ type : string
87+ namespace :
88+ description : Namespace of this source.
89+ type : string
0 commit comments