{
  "description": "TLSOption is a specification for a TLSOption resource.",
  "properties": {
    "apiVersion": {
      "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",
      "type": "string"
    },
    "kind": {
      "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",
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "description": "TLSOptionSpec configures TLS for an entry point.",
      "properties": {
        "alpnProtocols": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "cipherSuites": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "clientAuth": {
          "description": "ClientAuth defines the parameters of the client authentication part of the TLS connection, if any.",
          "properties": {
            "clientAuthType": {
              "description": "ClientAuthType defines the client authentication type to apply.",
              "enum": [
                "NoClientCert",
                "RequestClientCert",
                "RequireAnyClientCert",
                "VerifyClientCertIfGiven",
                "RequireAndVerifyClientCert"
              ],
              "type": "string"
            },
            "secretNames": {
              "description": "SecretName is the name of the referenced Kubernetes Secret to specify the certificate details.",
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "curvePreferences": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "maxVersion": {
          "type": "string"
        },
        "minVersion": {
          "type": "string"
        },
        "preferServerCipherSuites": {
          "type": "boolean"
        },
        "sniStrict": {
          "type": "boolean"
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "required": [
    "metadata",
    "spec"
  ],
  "type": "object"
}
