apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: serverstransports.traefik.containo.us
spec:
  group: traefik.containo.us
  scope: Namespaced
  names:
    kind: ServersTransport
    listKind: ServersTransportList
    plural: serverstransports
    singular: serverstransport
  versions:
    - name: v1alpha1
      served: true
      storage: true
      schema:
        openAPIV3Schema:
          type: object
          description: ServersTransport is a specification for a ServersTransport resource.
          required:
            - metadata
            - spec
          properties:
            apiVersion:
              type: string
              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
            kind:
              type: string
              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
            metadata:
              type: object
            spec:
              type: object
              description: ServersTransportSpec options to configure communication between Traefik and the servers.
              properties:
                certificatesSecrets:
                  type: array
                  description: Certificates for mTLS.
                  items:
                    type: string
                disableHTTP2:
                  type: boolean
                  description: Disable HTTP/2 for connections with backend servers.
                forwardingTimeouts:
                  type: object
                  description: Timeouts for requests forwarded to the backend servers.
                  properties:
                    dialTimeout:
                      description: >-
                        The amount of time to wait until a connection to  a backend server can be established.
                        If zero, no timeout exists.
                      anyOf:
                        - type: integer
                        - type: string
                      x-kubernetes-int-or-string: true
                    idleConnTimeout:
                      description: The maximum period for which an idle HTTP keep-alive connection will remain open before closing itself.
                      anyOf:
                        - type: integer
                        - type: string
                      x-kubernetes-int-or-string: true
                    responseHeaderTimeout:
                      description: >-
                        The amount of time to wait for a server's response headers after fully writing the request (including its body, if any).
                        If zero, no timeout exists.
                      anyOf:
                        - type: integer
                        - type: string
                      x-kubernetes-int-or-string: true
                insecureSkipVerify:
                  type: boolean
                  description: Disable SSL certificate verification.
                maxIdleConnsPerHost:
                  type: integer
                  description: >-
                    If non-zero, controls the maximum idle (keep-alive) to keep per-host.
                    If zero, DefaultMaxIdleConnsPerHost is used.
                rootCAsSecrets:
                  type: array
                  description: Add cert file for self-signed certificate.
                  items:
                    type: string
                serverName:
                  type: string
                  description: ServerName used to contact the server.
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
