Skip to content

Commit 426716b

Browse files
authored
Deprecate v1alpha1 CRDs for GlobalConfiguration, Policy & TransportServer (#6800)
1 parent ec1fe23 commit 426716b

39 files changed

+9
-2710
lines changed

config/crd/bases/k8s.nginx.org_globalconfigurations.yaml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -64,47 +64,3 @@ spec:
6464
type: object
6565
served: true
6666
storage: true
67-
- name: v1alpha1
68-
schema:
69-
openAPIV3Schema:
70-
description: GlobalConfiguration defines the GlobalConfiguration resource.
71-
properties:
72-
apiVersion:
73-
description: |-
74-
APIVersion defines the versioned schema of this representation of an object.
75-
Servers should convert recognized schemas to the latest internal value, and
76-
may reject unrecognized values.
77-
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
78-
type: string
79-
kind:
80-
description: |-
81-
Kind is a string value representing the REST resource this object represents.
82-
Servers may infer this from the endpoint the client submits requests to.
83-
Cannot be updated.
84-
In CamelCase.
85-
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
86-
type: string
87-
metadata:
88-
type: object
89-
spec:
90-
description: GlobalConfigurationSpec is the spec of the GlobalConfiguration
91-
resource.
92-
properties:
93-
listeners:
94-
items:
95-
description: Listener defines a listener.
96-
properties:
97-
name:
98-
type: string
99-
port:
100-
type: integer
101-
protocol:
102-
type: string
103-
ssl:
104-
type: boolean
105-
type: object
106-
type: array
107-
type: object
108-
type: object
109-
served: true
110-
storage: false

config/crd/bases/k8s.nginx.org_policies.yaml

Lines changed: 0 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -250,113 +250,3 @@ spec:
250250
storage: true
251251
subresources:
252252
status: {}
253-
- name: v1alpha1
254-
schema:
255-
openAPIV3Schema:
256-
description: Policy defines a Policy for VirtualServer and VirtualServerRoute
257-
resources.
258-
properties:
259-
apiVersion:
260-
description: |-
261-
APIVersion defines the versioned schema of this representation of an object.
262-
Servers should convert recognized schemas to the latest internal value, and
263-
may reject unrecognized values.
264-
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
265-
type: string
266-
kind:
267-
description: |-
268-
Kind is a string value representing the REST resource this object represents.
269-
Servers may infer this from the endpoint the client submits requests to.
270-
Cannot be updated.
271-
In CamelCase.
272-
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
273-
type: string
274-
metadata:
275-
type: object
276-
spec:
277-
description: |-
278-
PolicySpec is the spec of the Policy resource.
279-
The spec includes multiple fields, where each field represents a different policy.
280-
Only one policy (field) is allowed.
281-
properties:
282-
accessControl:
283-
description: AccessControl defines an access policy based on the source
284-
IP of a request.
285-
properties:
286-
allow:
287-
items:
288-
type: string
289-
type: array
290-
deny:
291-
items:
292-
type: string
293-
type: array
294-
type: object
295-
egressMTLS:
296-
description: EgressMTLS defines an Egress MTLS policy.
297-
properties:
298-
ciphers:
299-
type: string
300-
protocols:
301-
type: string
302-
serverName:
303-
type: boolean
304-
sessionReuse:
305-
type: boolean
306-
sslName:
307-
type: string
308-
tlsSecret:
309-
type: string
310-
trustedCertSecret:
311-
type: string
312-
verifyDepth:
313-
type: integer
314-
verifyServer:
315-
type: boolean
316-
type: object
317-
ingressMTLS:
318-
description: IngressMTLS defines an Ingress MTLS policy.
319-
properties:
320-
clientCertSecret:
321-
type: string
322-
verifyClient:
323-
type: string
324-
verifyDepth:
325-
type: integer
326-
type: object
327-
jwt:
328-
description: JWTAuth holds JWT authentication configuration.
329-
properties:
330-
realm:
331-
type: string
332-
secret:
333-
type: string
334-
token:
335-
type: string
336-
type: object
337-
rateLimit:
338-
description: RateLimit defines a rate limit policy.
339-
properties:
340-
burst:
341-
type: integer
342-
delay:
343-
type: integer
344-
dryRun:
345-
type: boolean
346-
key:
347-
type: string
348-
logLevel:
349-
type: string
350-
noDelay:
351-
type: boolean
352-
rate:
353-
type: string
354-
rejectCode:
355-
type: integer
356-
zoneSize:
357-
type: string
358-
type: object
359-
type: object
360-
type: object
361-
served: true
362-
storage: false

config/crd/bases/k8s.nginx.org_transportservers.yaml

Lines changed: 0 additions & 157 deletions
Original file line numberDiff line numberDiff line change
@@ -173,160 +173,3 @@ spec:
173173
storage: true
174174
subresources:
175175
status: {}
176-
- additionalPrinterColumns:
177-
- description: Current state of the TransportServer. If the resource has a valid
178-
status, it means it has been validated and accepted by the Ingress Controller.
179-
jsonPath: .status.state
180-
name: State
181-
type: string
182-
- jsonPath: .status.reason
183-
name: Reason
184-
type: string
185-
- jsonPath: .metadata.creationTimestamp
186-
name: Age
187-
type: date
188-
name: v1alpha1
189-
schema:
190-
openAPIV3Schema:
191-
description: TransportServer defines the TransportServer resource.
192-
properties:
193-
apiVersion:
194-
description: |-
195-
APIVersion defines the versioned schema of this representation of an object.
196-
Servers should convert recognized schemas to the latest internal value, and
197-
may reject unrecognized values.
198-
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
199-
type: string
200-
kind:
201-
description: |-
202-
Kind is a string value representing the REST resource this object represents.
203-
Servers may infer this from the endpoint the client submits requests to.
204-
Cannot be updated.
205-
In CamelCase.
206-
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
207-
type: string
208-
metadata:
209-
type: object
210-
spec:
211-
description: TransportServerSpec is the spec of the TransportServer resource.
212-
properties:
213-
action:
214-
description: TransportServerAction defines an action.
215-
properties:
216-
pass:
217-
type: string
218-
type: object
219-
host:
220-
type: string
221-
ingressClassName:
222-
type: string
223-
listener:
224-
description: TransportServerListener defines a listener for a TransportServer.
225-
properties:
226-
name:
227-
type: string
228-
protocol:
229-
type: string
230-
type: object
231-
serverSnippets:
232-
type: string
233-
sessionParameters:
234-
description: SessionParameters defines session parameters.
235-
properties:
236-
timeout:
237-
type: string
238-
type: object
239-
streamSnippets:
240-
type: string
241-
tls:
242-
description: TransportServerTLS defines TransportServerTLS configuration
243-
for a TransportServer.
244-
properties:
245-
secret:
246-
type: string
247-
type: object
248-
upstreamParameters:
249-
description: UpstreamParameters defines parameters for an upstream.
250-
properties:
251-
connectTimeout:
252-
type: string
253-
nextUpstream:
254-
type: boolean
255-
nextUpstreamTimeout:
256-
type: string
257-
nextUpstreamTries:
258-
type: integer
259-
udpRequests:
260-
type: integer
261-
udpResponses:
262-
type: integer
263-
type: object
264-
upstreams:
265-
items:
266-
description: TransportServerUpstream defines an upstream.
267-
properties:
268-
backup:
269-
type: string
270-
backupPort:
271-
type: integer
272-
failTimeout:
273-
type: string
274-
healthCheck:
275-
description: TransportServerHealthCheck defines the parameters
276-
for active Upstream HealthChecks.
277-
properties:
278-
enable:
279-
type: boolean
280-
fails:
281-
type: integer
282-
interval:
283-
type: string
284-
jitter:
285-
type: string
286-
match:
287-
description: TransportServerMatch defines the parameters
288-
of a custom health check.
289-
properties:
290-
expect:
291-
type: string
292-
send:
293-
type: string
294-
type: object
295-
passes:
296-
type: integer
297-
port:
298-
type: integer
299-
timeout:
300-
type: string
301-
type: object
302-
loadBalancingMethod:
303-
type: string
304-
maxConns:
305-
type: integer
306-
maxFails:
307-
type: integer
308-
name:
309-
type: string
310-
port:
311-
type: integer
312-
service:
313-
type: string
314-
type: object
315-
type: array
316-
type: object
317-
status:
318-
description: TransportServerStatus defines the status for the TransportServer
319-
resource.
320-
properties:
321-
message:
322-
type: string
323-
reason:
324-
type: string
325-
state:
326-
type: string
327-
type: object
328-
type: object
329-
served: true
330-
storage: false
331-
subresources:
332-
status: {}

0 commit comments

Comments
 (0)