Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit c54e493

Browse files
sdelicataTraefiker
authored and
Traefiker
committed
chore: update CRDs to v1.3.3
1 parent 08f77cf commit c54e493

7 files changed

+231
-287
lines changed

traefik-hub/crds/hub.traefik.io_accesscontrolpolicies.yaml

+33-28
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.13.0
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
name: accesscontrolpolicies.hub.traefik.io
88
spec:
99
group: hub.traefik.io
@@ -20,14 +20,19 @@ spec:
2020
description: AccessControlPolicy defines an access control policy.
2121
properties:
2222
apiVersion:
23-
description: 'APIVersion defines the versioned schema of this representation
24-
of an object. Servers should convert recognized schemas to the latest
25-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2628
type: string
2729
kind:
28-
description: 'Kind is a string value representing the REST resource this
29-
object represents. Servers may infer this from the endpoint the client
30-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3136
type: string
3237
metadata:
3338
type: object
@@ -54,10 +59,9 @@ spec:
5459
description: Header is the name of a header.
5560
type: string
5661
headerAuthScheme:
57-
description: HeaderAuthScheme sets an optional auth scheme
58-
when Header is set to "Authorization". If set, this scheme
59-
is removed from the token, and all requests not including
60-
it are dropped.
62+
description: |-
63+
HeaderAuthScheme sets an optional auth scheme when Header is set to "Authorization".
64+
If set, this scheme is removed from the token, and all requests not including it are dropped.
6165
type: string
6266
query:
6367
description: Query is the name of a query parameter.
@@ -165,15 +169,15 @@ spec:
165169
Server certificate.
166170
type: string
167171
insecureSkipVerify:
168-
description: InsecureSkipVerify skips the Authorization
169-
Server certificate validation. For testing purposes
170-
only, do not use in production.
172+
description: |-
173+
InsecureSkipVerify skips the Authorization Server certificate validation.
174+
For testing purposes only, do not use in production.
171175
type: boolean
172176
type: object
173177
tokenTypeHint:
174-
description: TokenTypeHint is a hint to pass to the Authorization
175-
Server. See https://tools.ietf.org/html/rfc7662#section-2.1
176-
for more information.
178+
description: |-
179+
TokenTypeHint is a hint to pass to the Authorization Server.
180+
See https://tools.ietf.org/html/rfc7662#section-2.1 for more information.
177181
type: string
178182
url:
179183
description: URL of the Authorization Server.
@@ -186,9 +190,9 @@ spec:
186190
type: string
187191
type: object
188192
tokenSource:
189-
description: 'TokenSource describes how to extract tokens from
190-
HTTP requests. If multiple sources are set, the order is the
191-
following: header > query > cookie.'
193+
description: |-
194+
TokenSource describes how to extract tokens from HTTP requests.
195+
If multiple sources are set, the order is the following: header > query > cookie.
192196
properties:
193197
cookie:
194198
description: Cookie is the name of a cookie.
@@ -197,10 +201,9 @@ spec:
197201
description: Header is the name of a header.
198202
type: string
199203
headerAuthScheme:
200-
description: HeaderAuthScheme sets an optional auth scheme
201-
when Header is set to "Authorization". If set, this scheme
202-
is removed from the token, and all requests not including
203-
it are dropped.
204+
description: |-
205+
HeaderAuthScheme sets an optional auth scheme when Header is set to "Authorization".
206+
If set, this scheme is removed from the token, and all requests not including it are dropped.
204207
type: string
205208
query:
206209
description: Query is the name of a query parameter.
@@ -241,8 +244,9 @@ spec:
241244
type: string
242245
type: array
243246
secret:
244-
description: SecretReference represents a Secret Reference. It
245-
has enough information to retrieve secret in any namespace
247+
description: |-
248+
SecretReference represents a Secret Reference. It has enough information to retrieve secret
249+
in any namespace
246250
properties:
247251
name:
248252
description: name is unique within a namespace to reference
@@ -306,8 +310,9 @@ spec:
306310
redirectUrl:
307311
type: string
308312
secret:
309-
description: SecretReference represents a Secret Reference. It
310-
has enough information to retrieve secret in any namespace
313+
description: |-
314+
SecretReference represents a Secret Reference. It has enough information to retrieve secret
315+
in any namespace
311316
properties:
312317
name:
313318
description: name is unique within a namespace to reference

traefik-hub/crds/hub.traefik.io_apiaccesses.yaml

+39-33
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.13.0
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
name: apiaccesses.hub.traefik.io
88
spec:
99
group: hub.traefik.io
@@ -20,48 +20,54 @@ spec:
2020
description: APIAccess defines who can access to a set of APIs.
2121
properties:
2222
apiVersion:
23-
description: 'APIVersion defines the versioned schema of this representation
24-
of an object. Servers should convert recognized schemas to the latest
25-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2628
type: string
2729
kind:
28-
description: 'Kind is a string value representing the REST resource this
29-
object represents. Servers may infer this from the endpoint the client
30-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3136
type: string
3237
metadata:
3338
type: object
3439
spec:
3540
description: The desired behavior of this APIAccess.
3641
properties:
3742
apiSelector:
38-
description: APISelector selects the APIs that will be accessible
39-
to the configured audience. Multiple APIAccesses can select the
40-
same set of APIs. This field is optional and follows standard label
41-
selector semantics. An empty APISelector matches any API.
43+
description: |-
44+
APISelector selects the APIs that will be accessible to the configured audience.
45+
Multiple APIAccesses can select the same set of APIs.
46+
This field is optional and follows standard label selector semantics.
47+
An empty APISelector matches any API.
4248
properties:
4349
matchExpressions:
4450
description: matchExpressions is a list of label selector requirements.
4551
The requirements are ANDed.
4652
items:
47-
description: A label selector requirement is a selector that
48-
contains values, a key, and an operator that relates the key
49-
and values.
53+
description: |-
54+
A label selector requirement is a selector that contains values, a key, and an operator that
55+
relates the key and values.
5056
properties:
5157
key:
5258
description: key is the label key that the selector applies
5359
to.
5460
type: string
5561
operator:
56-
description: operator represents a key's relationship to
57-
a set of values. Valid operators are In, NotIn, Exists
58-
and DoesNotExist.
62+
description: |-
63+
operator represents a key's relationship to a set of values.
64+
Valid operators are In, NotIn, Exists and DoesNotExist.
5965
type: string
6066
values:
61-
description: values is an array of string values. If the
62-
operator is In or NotIn, the values array must be non-empty.
63-
If the operator is Exists or DoesNotExist, the values
64-
array must be empty. This array is replaced during a strategic
67+
description: |-
68+
values is an array of string values. If the operator is In or NotIn,
69+
the values array must be non-empty. If the operator is Exists or DoesNotExist,
70+
the values array must be empty. This array is replaced during a strategic
6571
merge patch.
6672
items:
6773
type: string
@@ -74,19 +80,18 @@ spec:
7480
matchLabels:
7581
additionalProperties:
7682
type: string
77-
description: matchLabels is a map of {key,value} pairs. A single
78-
{key,value} in the matchLabels map is equivalent to an element
79-
of matchExpressions, whose key field is "key", the operator
80-
is "In", and the values array contains only "value". The requirements
81-
are ANDed.
83+
description: |-
84+
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
85+
map is equivalent to an element of matchExpressions, whose key field is "key", the
86+
operator is "In", and the values array contains only "value". The requirements are ANDed.
8287
type: object
8388
type: object
8489
x-kubernetes-map-type: atomic
8590
apis:
86-
description: APIs defines a set of APIs that will be accessible to
87-
the configured audience. Multiple APIAccesses can select the same
88-
APIs. When combined with APISelector, this set of APIs is appended
89-
to the matching APIs.
91+
description: |-
92+
APIs defines a set of APIs that will be accessible to the configured audience.
93+
Multiple APIAccesses can select the same APIs.
94+
When combined with APISelector, this set of APIs is appended to the matching APIs.
9095
items:
9196
description: APIReference references an API.
9297
properties:
@@ -113,9 +118,10 @@ spec:
113118
type: string
114119
type: array
115120
operationFilter:
116-
description: OperationFilter specifies the allowed operations on APIs
117-
and APIVersions. If not set, all operations are available. An empty
118-
OperationFilter prohibits all operations.
121+
description: |-
122+
OperationFilter specifies the allowed operations on APIs and APIVersions.
123+
If not set, all operations are available.
124+
An empty OperationFilter prohibits all operations.
119125
properties:
120126
include:
121127
description: Include defines the names of OperationSets that will

traefik-hub/crds/hub.traefik.io_apiportals.yaml

+21-18
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.13.0
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
name: apiportals.hub.traefik.io
88
spec:
99
group: hub.traefik.io
@@ -14,25 +14,26 @@ spec:
1414
singular: apiportal
1515
scope: Namespaced
1616
versions:
17-
- additionalPrinterColumns:
18-
- jsonPath: .status.urls
19-
name: URLs
20-
type: string
21-
name: v1alpha1
17+
- name: v1alpha1
2218
schema:
2319
openAPIV3Schema:
2420
description: APIPortal defines a developer portal for accessing the documentation
2521
of APIs.
2622
properties:
2723
apiVersion:
28-
description: 'APIVersion defines the versioned schema of this representation
29-
of an object. Servers should convert recognized schemas to the latest
30-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
24+
description: |-
25+
APIVersion defines the versioned schema of this representation of an object.
26+
Servers should convert recognized schemas to the latest internal value, and
27+
may reject unrecognized values.
28+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3129
type: string
3230
kind:
33-
description: 'Kind is a string value representing the REST resource this
34-
object represents. Servers may infer this from the endpoint the client
35-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
description: |-
32+
Kind is a string value representing the REST resource this object represents.
33+
Servers may infer this from the endpoint the client submits requests to.
34+
Cannot be updated.
35+
In CamelCase.
36+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3637
type: string
3738
metadata:
3839
type: object
@@ -45,14 +46,17 @@ spec:
4546
title:
4647
description: Title is the public facing name of the APIPortal.
4748
type: string
48-
trustedDomains:
49-
description: TrustedDomains are the domains that are trusted by the
50-
OAuth 2.0 authorization server.
49+
trustedUrls:
50+
description: TrustedURLs are the urls that are trusted by the OAuth
51+
2.0 authorization server.
5152
items:
5253
type: string
53-
maxItems: 20
54+
maxItems: 1
5455
minItems: 1
5556
type: array
57+
x-kubernetes-validations:
58+
- message: must be a valid URLs
59+
rule: self.all(x, isURL(x))
5660
ui:
5761
description: UI holds the UI customization options.
5862
properties:
@@ -61,7 +65,7 @@ spec:
6165
type: string
6266
type: object
6367
required:
64-
- trustedDomains
68+
- trustedUrls
6569
type: object
6670
status:
6771
description: The current status of this APIPortal.
@@ -95,4 +99,3 @@ spec:
9599
type: object
96100
served: true
97101
storage: true
98-
subresources: {}

0 commit comments

Comments
 (0)