Skip to content

Commit bc54253

Browse files
authored
Remove deprecated v1alpha2 ClusterGroup API (#6049)
Signed-off-by: Lan Luo <[email protected]>
1 parent 0886d74 commit bc54253

File tree

23 files changed

+8
-1883
lines changed

23 files changed

+8
-1883
lines changed

build/charts/antrea/crds/clustergroup.yaml

-131
Original file line numberDiff line numberDiff line change
@@ -4,131 +4,9 @@ metadata:
44
name: clustergroups.crd.antrea.io
55
labels:
66
app: antrea
7-
served-by: antrea-controller
87
spec:
98
group: crd.antrea.io
109
versions:
11-
- name: v1alpha2
12-
served: true
13-
storage: false
14-
schema:
15-
openAPIV3Schema:
16-
type: object
17-
properties:
18-
spec:
19-
type: object
20-
properties:
21-
childGroups:
22-
type: array
23-
items:
24-
type: string
25-
podSelector:
26-
type: object
27-
properties:
28-
matchExpressions:
29-
type: array
30-
items:
31-
type: object
32-
properties:
33-
key:
34-
type: string
35-
operator:
36-
enum:
37-
- In
38-
- NotIn
39-
- Exists
40-
- DoesNotExist
41-
type: string
42-
values:
43-
type: array
44-
items:
45-
type: string
46-
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
47-
matchLabels:
48-
x-kubernetes-preserve-unknown-fields: true
49-
namespaceSelector:
50-
type: object
51-
properties:
52-
matchExpressions:
53-
type: array
54-
items:
55-
type: object
56-
properties:
57-
key:
58-
type: string
59-
operator:
60-
enum:
61-
- In
62-
- NotIn
63-
- Exists
64-
- DoesNotExist
65-
type: string
66-
values:
67-
type: array
68-
items:
69-
type: string
70-
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
71-
matchLabels:
72-
x-kubernetes-preserve-unknown-fields: true
73-
externalEntitySelector:
74-
type: object
75-
properties:
76-
matchExpressions:
77-
type: array
78-
items:
79-
type: object
80-
properties:
81-
key:
82-
type: string
83-
operator:
84-
enum:
85-
- In
86-
- NotIn
87-
- Exists
88-
- DoesNotExist
89-
type: string
90-
values:
91-
type: array
92-
items:
93-
type: string
94-
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
95-
matchLabels:
96-
x-kubernetes-preserve-unknown-fields: true
97-
ipBlock:
98-
type: object
99-
properties:
100-
cidr:
101-
type: string
102-
format: cidr
103-
ipBlocks:
104-
type: array
105-
items:
106-
type: object
107-
properties:
108-
cidr:
109-
type: string
110-
format: cidr
111-
serviceReference:
112-
type: object
113-
properties:
114-
name:
115-
type: string
116-
namespace:
117-
type: string
118-
status:
119-
type: object
120-
properties:
121-
conditions:
122-
type: array
123-
items:
124-
type: object
125-
properties:
126-
type:
127-
type: string
128-
status:
129-
type: string
130-
lastTransitionTime:
131-
type: string
13210
- name: v1alpha3
13311
served: true
13412
storage: false
@@ -372,15 +250,6 @@ spec:
372250
type: string
373251
subresources:
374252
status: { }
375-
conversion:
376-
strategy: Webhook
377-
webhook:
378-
conversionReviewVersions: ["v1", "v1beta1"]
379-
clientConfig:
380-
service:
381-
name: "antrea"
382-
namespace: "kube-system"
383-
path: "/convert/clustergroup"
384253
scope: Cluster
385254
names:
386255
plural: clustergroups

build/yamls/antrea-aks.yml

-131
Original file line numberDiff line numberDiff line change
@@ -308,131 +308,9 @@ metadata:
308308
name: clustergroups.crd.antrea.io
309309
labels:
310310
app: antrea
311-
served-by: antrea-controller
312311
spec:
313312
group: crd.antrea.io
314313
versions:
315-
- name: v1alpha2
316-
served: true
317-
storage: false
318-
schema:
319-
openAPIV3Schema:
320-
type: object
321-
properties:
322-
spec:
323-
type: object
324-
properties:
325-
childGroups:
326-
type: array
327-
items:
328-
type: string
329-
podSelector:
330-
type: object
331-
properties:
332-
matchExpressions:
333-
type: array
334-
items:
335-
type: object
336-
properties:
337-
key:
338-
type: string
339-
operator:
340-
enum:
341-
- In
342-
- NotIn
343-
- Exists
344-
- DoesNotExist
345-
type: string
346-
values:
347-
type: array
348-
items:
349-
type: string
350-
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
351-
matchLabels:
352-
x-kubernetes-preserve-unknown-fields: true
353-
namespaceSelector:
354-
type: object
355-
properties:
356-
matchExpressions:
357-
type: array
358-
items:
359-
type: object
360-
properties:
361-
key:
362-
type: string
363-
operator:
364-
enum:
365-
- In
366-
- NotIn
367-
- Exists
368-
- DoesNotExist
369-
type: string
370-
values:
371-
type: array
372-
items:
373-
type: string
374-
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
375-
matchLabels:
376-
x-kubernetes-preserve-unknown-fields: true
377-
externalEntitySelector:
378-
type: object
379-
properties:
380-
matchExpressions:
381-
type: array
382-
items:
383-
type: object
384-
properties:
385-
key:
386-
type: string
387-
operator:
388-
enum:
389-
- In
390-
- NotIn
391-
- Exists
392-
- DoesNotExist
393-
type: string
394-
values:
395-
type: array
396-
items:
397-
type: string
398-
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$"
399-
matchLabels:
400-
x-kubernetes-preserve-unknown-fields: true
401-
ipBlock:
402-
type: object
403-
properties:
404-
cidr:
405-
type: string
406-
format: cidr
407-
ipBlocks:
408-
type: array
409-
items:
410-
type: object
411-
properties:
412-
cidr:
413-
type: string
414-
format: cidr
415-
serviceReference:
416-
type: object
417-
properties:
418-
name:
419-
type: string
420-
namespace:
421-
type: string
422-
status:
423-
type: object
424-
properties:
425-
conditions:
426-
type: array
427-
items:
428-
type: object
429-
properties:
430-
type:
431-
type: string
432-
status:
433-
type: string
434-
lastTransitionTime:
435-
type: string
436314
- name: v1alpha3
437315
served: true
438316
storage: false
@@ -676,15 +554,6 @@ spec:
676554
type: string
677555
subresources:
678556
status: { }
679-
conversion:
680-
strategy: Webhook
681-
webhook:
682-
conversionReviewVersions: ["v1", "v1beta1"]
683-
clientConfig:
684-
service:
685-
name: "antrea"
686-
namespace: "kube-system"
687-
path: "/convert/clustergroup"
688557
scope: Cluster
689558
names:
690559
plural: clustergroups

0 commit comments

Comments
 (0)