2023-03-20 14:38:08 +00:00
|
|
|
---
|
|
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
|
|
kind: CustomResourceDefinition
|
|
|
|
metadata:
|
|
|
|
annotations:
|
2024-08-28 13:00:06 +00:00
|
|
|
controller-gen.kubebuilder.io/version: v0.16.1
|
2023-03-20 14:38:08 +00:00
|
|
|
name: middlewaretcps.traefik.io
|
|
|
|
spec:
|
|
|
|
group: traefik.io
|
|
|
|
names:
|
|
|
|
kind: MiddlewareTCP
|
|
|
|
listKind: MiddlewareTCPList
|
|
|
|
plural: middlewaretcps
|
|
|
|
singular: middlewaretcp
|
|
|
|
scope: Namespaced
|
|
|
|
versions:
|
|
|
|
- name: v1alpha1
|
|
|
|
schema:
|
|
|
|
openAPIV3Schema:
|
2024-02-07 16:14:07 +00:00
|
|
|
description: |-
|
|
|
|
MiddlewareTCP is the CRD implementation of a Traefik TCP middleware.
|
2024-10-02 14:24:04 +00:00
|
|
|
More info: https://doc.traefik.io/traefik/v3.2/middlewares/overview/
|
2023-03-20 14:38:08 +00:00
|
|
|
properties:
|
|
|
|
apiVersion:
|
2024-02-07 16:14:07 +00:00
|
|
|
description: |-
|
|
|
|
APIVersion defines the versioned schema of this representation of an object.
|
|
|
|
Servers should convert recognized schemas to the latest internal value, and
|
|
|
|
may reject unrecognized values.
|
|
|
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
2023-03-20 14:38:08 +00:00
|
|
|
type: string
|
|
|
|
kind:
|
2024-02-07 16:14:07 +00:00
|
|
|
description: |-
|
|
|
|
Kind is a string value representing the REST resource this object represents.
|
|
|
|
Servers may infer this from the endpoint the client submits requests to.
|
|
|
|
Cannot be updated.
|
|
|
|
In CamelCase.
|
|
|
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
2023-03-20 14:38:08 +00:00
|
|
|
type: string
|
|
|
|
metadata:
|
|
|
|
type: object
|
|
|
|
spec:
|
|
|
|
description: MiddlewareTCPSpec defines the desired state of a MiddlewareTCP.
|
|
|
|
properties:
|
|
|
|
inFlightConn:
|
|
|
|
description: InFlightConn defines the InFlightConn middleware configuration.
|
|
|
|
properties:
|
|
|
|
amount:
|
2024-02-07 16:14:07 +00:00
|
|
|
description: |-
|
|
|
|
Amount defines the maximum amount of allowed simultaneous connections.
|
|
|
|
The middleware closes the connection if there are already amount connections opened.
|
2023-03-20 14:38:08 +00:00
|
|
|
format: int64
|
|
|
|
type: integer
|
|
|
|
type: object
|
2023-03-21 11:00:46 +00:00
|
|
|
ipAllowList:
|
2024-02-07 16:14:07 +00:00
|
|
|
description: |-
|
|
|
|
IPAllowList defines the IPAllowList middleware configuration.
|
|
|
|
This middleware accepts/refuses connections based on the client IP.
|
2024-10-02 14:24:04 +00:00
|
|
|
More info: https://doc.traefik.io/traefik/v3.2/middlewares/tcp/ipallowlist/
|
2023-03-20 14:38:08 +00:00
|
|
|
properties:
|
|
|
|
sourceRange:
|
|
|
|
description: SourceRange defines the allowed IPs (or ranges of
|
|
|
|
allowed IPs by using CIDR notation).
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
type: array
|
|
|
|
type: object
|
2024-01-11 09:40:06 +00:00
|
|
|
ipWhiteList:
|
2024-02-07 16:14:07 +00:00
|
|
|
description: |-
|
|
|
|
IPWhiteList defines the IPWhiteList middleware configuration.
|
|
|
|
This middleware accepts/refuses connections based on the client IP.
|
|
|
|
Deprecated: please use IPAllowList instead.
|
2024-10-02 14:24:04 +00:00
|
|
|
More info: https://doc.traefik.io/traefik/v3.2/middlewares/tcp/ipwhitelist/
|
2024-01-11 09:40:06 +00:00
|
|
|
properties:
|
|
|
|
sourceRange:
|
|
|
|
description: SourceRange defines the allowed IPs (or ranges of
|
|
|
|
allowed IPs by using CIDR notation).
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
type: array
|
|
|
|
type: object
|
2023-03-20 14:38:08 +00:00
|
|
|
type: object
|
|
|
|
required:
|
|
|
|
- metadata
|
|
|
|
- spec
|
|
|
|
type: object
|
|
|
|
served: true
|
|
|
|
storage: true
|