Skip to content

Commit ba5fc8a

Browse files
authored
Update tools and crds gen manifests (#849)
* Update tools and crds gen manifests * fix ci v1 * fix ci v2
1 parent d3c1225 commit ba5fc8a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+3088
-728
lines changed

.licenserc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ header:
2121
# Build and dependency files
2222
- '**/go.sum'
2323
- '**/*.pb.go'
24+
- '**/*.gen.go'
2425
- '**/*.cache'
2526

2627
# Configuration and template files

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ clone-sample:
2424
mkdir -p bin
2525
cp -r samples bin/samples
2626

27-
#########
28-
29-
#########
30-
3127
# allow optional per-repo overrides
3228
-include client-go/Makefile.overrides.mk
3329

Lines changed: 378 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,378 @@
1+
# DO NOT EDIT - Generated by Cue OpenAPI generator based on Dubbo APIs.
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
"helm.sh/resource-policy": keep
7+
labels:
8+
app: dubbo-planet
9+
chart: dubbo
10+
heritage: Tiller
11+
release: dubbo
12+
name: destinationrules.networking.dubbo.apache.org
13+
spec:
14+
group: networking.dubbo.apache.org
15+
names:
16+
categories:
17+
- dubbo
18+
- networking
19+
kind: DestinationRule
20+
listKind: DestinationRuleList
21+
plural: destinationrules
22+
shortNames:
23+
- dr
24+
singular: destinationrule
25+
scope: Namespaced
26+
versions:
27+
- additionalPrinterColumns:
28+
- description: The name of a service from the service registry
29+
jsonPath: .spec.host
30+
name: Host
31+
type: string
32+
- description: CreationTimestamp is a timestamp representing the server time when
33+
this object was created. It is not guaranteed to be set in happens-before
34+
order across separate operations. Clients may not set this value. It is represented
35+
in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
36+
lists. For more information, see [Kubernetes API Conventions](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata)
37+
jsonPath: .metadata.creationTimestamp
38+
name: Age
39+
type: date
40+
name: v1alpha3
41+
schema:
42+
openAPIV3Schema:
43+
properties:
44+
spec:
45+
description: 'Configuration affecting load balancing, outlier detection,
46+
etc. See more details at: '
47+
properties:
48+
exportTo:
49+
description: A list of namespaces to which this destination rule is
50+
exported.
51+
items:
52+
type: string
53+
type: array
54+
host:
55+
type: string
56+
subsets:
57+
description: One or more named sets that represent individual versions
58+
of a service.
59+
items:
60+
properties:
61+
labels:
62+
additionalProperties:
63+
type: string
64+
description: Labels apply a filter over the endpoints of a service
65+
in the service registry.
66+
type: object
67+
name:
68+
description: Name of the subset.
69+
type: string
70+
trafficPolicy:
71+
description: Traffic policies that apply to this subset.
72+
properties:
73+
tls:
74+
description: TLS related settings for connections to the
75+
upstream service.
76+
properties:
77+
mode:
78+
description: |-
79+
Indicates whether connections to this port should be secured using TLS.
80+
81+
Valid Options: DISABLE, MUTUAL, DUBBO_MUTUAL
82+
type: string
83+
x-kubernetes-int-or-string: true
84+
type: object
85+
type: object
86+
required:
87+
- name
88+
type: object
89+
type: array
90+
trafficPolicy:
91+
description: Traffic policies to apply (load balancing policy, connection
92+
pool sizes, outlier detection).
93+
properties:
94+
tls:
95+
description: TLS related settings for connections to the upstream
96+
service.
97+
properties:
98+
mode:
99+
description: |-
100+
Indicates whether connections to this port should be secured using TLS.
101+
102+
Valid Options: DISABLE, MUTUAL, DUBBO_MUTUAL
103+
type: string
104+
x-kubernetes-int-or-string: true
105+
type: object
106+
type: object
107+
required:
108+
- host
109+
type: object
110+
status:
111+
properties:
112+
conditions:
113+
items:
114+
properties:
115+
observedGeneration:
116+
anyOf:
117+
- type: integer
118+
- type: string
119+
x-kubernetes-int-or-string: true
120+
reason:
121+
type: string
122+
status:
123+
type: string
124+
type:
125+
type: string
126+
type: object
127+
type: array
128+
type: object
129+
x-kubernetes-preserve-unknown-fields: true
130+
type: object
131+
served: true
132+
storage: true
133+
subresources:
134+
status: {}
135+
---
136+
apiVersion: apiextensions.k8s.io/v1
137+
kind: CustomResourceDefinition
138+
metadata:
139+
annotations:
140+
"helm.sh/resource-policy": keep
141+
labels:
142+
app: dubbo-planet
143+
chart: dubbo
144+
heritage: Tiller
145+
release: dubbo
146+
name: virtualservices.networking.dubbo.apache.org
147+
spec:
148+
group: networking.dubbo.apache.org
149+
names:
150+
categories:
151+
- dubbo
152+
- networking
153+
kind: VirtualService
154+
listKind: VirtualServiceList
155+
plural: virtualservices
156+
shortNames:
157+
- vs
158+
singular: virtualservice
159+
scope: Namespaced
160+
versions:
161+
- additionalPrinterColumns:
162+
- description: The destination hosts to which traffic is being sent
163+
jsonPath: .spec.hosts
164+
name: Hosts
165+
type: string
166+
- description: 'CreationTimestamp is a timestamp representing the server time
167+
when this object was created. It is not guaranteed to be set in happens-before
168+
order across separate operations. Clients may not set this value. It is represented
169+
in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
170+
lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
171+
jsonPath: .metadata.creationTimestamp
172+
name: Age
173+
type: date
174+
name: v1alpha3
175+
schema:
176+
openAPIV3Schema:
177+
properties:
178+
spec:
179+
description: 'Configuration affecting label/content routing, sni routing,
180+
etc. See more details at: '
181+
properties:
182+
exportTo:
183+
description: A list of namespaces to which this virtual service is
184+
exported.
185+
items:
186+
type: string
187+
type: array
188+
hosts:
189+
description: The hosts field applies to both HTTP and TCP services.
190+
items:
191+
type: string
192+
type: array
193+
http:
194+
description: An ordered list of route rules for HTTP traffic.
195+
items:
196+
properties:
197+
route:
198+
description: A HTTP rule can either return a direct_response,
199+
redirect or forward (default) traffic.
200+
items:
201+
properties:
202+
destination:
203+
description: Destination uniquely identifies the instances
204+
of a service to which the request/connection should
205+
be forwarded to.
206+
properties:
207+
host:
208+
description: The name of a service from the service
209+
registry.
210+
type: string
211+
subset:
212+
description: The name of a subset within the service.
213+
type: string
214+
required:
215+
- host
216+
type: object
217+
weight:
218+
description: Weight specifies the relative proportion
219+
of traffic to be forwarded to the destination.
220+
format: int32
221+
type: integer
222+
required:
223+
- destination
224+
type: object
225+
type: array
226+
type: object
227+
type: array
228+
type: object
229+
status:
230+
properties:
231+
conditions:
232+
items:
233+
properties:
234+
observedGeneration:
235+
anyOf:
236+
- type: integer
237+
- type: string
238+
x-kubernetes-int-or-string: true
239+
reason:
240+
type: string
241+
status:
242+
type: string
243+
type:
244+
type: string
245+
type: object
246+
type: array
247+
type: object
248+
x-kubernetes-preserve-unknown-fields: true
249+
type: object
250+
served: true
251+
storage: true
252+
subresources:
253+
status: {}
254+
---
255+
apiVersion: apiextensions.k8s.io/v1
256+
kind: CustomResourceDefinition
257+
metadata:
258+
annotations:
259+
"helm.sh/resource-policy": keep
260+
labels:
261+
app: dubbo-planet
262+
chart: dubbo
263+
dubbo: security
264+
heritage: Tiller
265+
release: dubbo
266+
name: peerauthentications.security.dubbo.apache.org
267+
spec:
268+
group: security.dubbo.apache.org
269+
names:
270+
categories:
271+
- dubbo
272+
- security
273+
kind: PeerAuthentication
274+
listKind: PeerAuthenticationList
275+
plural: peerauthentications
276+
shortNames:
277+
- pa
278+
singular: peerauthentication
279+
scope: Namespaced
280+
versions:
281+
- additionalPrinterColumns:
282+
- description: Defines the mTLS mode used for peer authentication.
283+
jsonPath: .spec.mtls.mode
284+
name: Mode
285+
type: string
286+
- description: 'CreationTimestamp is a timestamp representing the server time
287+
when this object was created. It is not guaranteed to be set in happens-before
288+
order across separate operations. Clients may not set this value. It is represented
289+
in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for
290+
lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
291+
jsonPath: .metadata.creationTimestamp
292+
name: Age
293+
type: date
294+
name: v1alpha3
295+
schema:
296+
openAPIV3Schema:
297+
properties:
298+
spec:
299+
description: 'Peer authentication configuration for workloads. See more
300+
details at: '
301+
properties:
302+
mtls:
303+
description: Mutual TLS settings for workload.
304+
properties:
305+
mode:
306+
description: |-
307+
Defines the mTLS mode used for peer authentication.
308+
309+
Valid Options: DISABLE, PERMISSIVE, STRICT
310+
type: string
311+
x-kubernetes-int-or-string: true
312+
type: object
313+
portLevelMtls:
314+
additionalProperties:
315+
properties:
316+
mode:
317+
description: |-
318+
Defines the mTLS mode used for peer authentication.
319+
320+
Valid Options: DISABLE, PERMISSIVE, STRICT
321+
type: string
322+
x-kubernetes-int-or-string: true
323+
type: object
324+
description: Port specific mutual TLS settings.
325+
minProperties: 1
326+
type: object
327+
x-kubernetes-validations:
328+
- message: port must be between 1-65535
329+
rule: self.all(key, 0 < int(key) && int(key) <= 65535)
330+
selector:
331+
description: The selector determines the workloads to apply the PeerAuthentication
332+
on.
333+
properties:
334+
matchLabels:
335+
additionalProperties:
336+
maxLength: 63
337+
type: string
338+
x-kubernetes-validations:
339+
- message: wildcard not allowed in label value match
340+
rule: '!self.contains("*")'
341+
maxProperties: 4096
342+
type: object
343+
x-kubernetes-validations:
344+
- message: wildcard not allowed in label key match
345+
rule: self.all(key, !key.contains("*"))
346+
- message: key must not be empty
347+
rule: self.all(key, key.size() != 0)
348+
type: object
349+
type: object
350+
x-kubernetes-validations:
351+
- message: portLevelMtls requires selector
352+
rule: 'has(self.portLevelMtls) ? (((has(self.selector) && has(self.selector.matchLabels))
353+
? self.selector.matchLabels : {}).size() > 0) : true'
354+
status:
355+
properties:
356+
conditions:
357+
items:
358+
properties:
359+
observedGeneration:
360+
anyOf:
361+
- type: integer
362+
- type: string
363+
x-kubernetes-int-or-string: true
364+
reason:
365+
type: string
366+
status:
367+
type: string
368+
type:
369+
type: string
370+
type: object
371+
type: array
372+
type: object
373+
x-kubernetes-preserve-unknown-fields: true
374+
type: object
375+
served: true
376+
storage: true
377+
subresources:
378+
status: {}

0 commit comments

Comments
 (0)