apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: tlsoptions.traefik.containo.us
spec:
  group: traefik.containo.us
  scope: Namespaced
  names:
    kind: TLSOption
    listKind: TLSOptionList
    plural: tlsoptions
    singular: tlsoption
  versions:
    - name: v1alpha1
      served: true
      storage: true
      schema:
        openAPIV3Schema:
          type: object
          description: TLSOption is a specification for a TLSOption 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: TLSOptionSpec configures TLS for an entry point.
              properties:
                cipherSuites:
                  type: array
                  items:
                    type: string
                clientAuth:
                  type: object
                  description: ClientAuth defines the parameters of the client authentication part of the TLS connection, if any.
                  properties:
                    clientAuthType:
                      type: string
                      description: ClientAuthType defines the client authentication type to apply.
                      enum:
                        - NoClientCert
                        - RequestClientCert
                        - VerifyClientCertIfGiven
                        - RequireAndVerifyClientCert
                    secretNames:
                      type: array
                      description: SecretName is the name of the referenced Kubernetes Secret to specify the certificate details.
                      items:
                        type: string
                curvePreferences:
                  type: array
                  items:
                    type: string
                maxVersion:
                  type: string
                minVersion:
                  type: string
                preferServerCipherSuites:
                  type: boolean
                sniStrict:
                  type: boolean
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
