GafaelfawrIngressTLS

pydantic model gafaelfawr.models.kubernetes.GafaelfawrIngressTLS

A TLS certificate rule for an ingress.

Parameters:

data (Any)

Show JSON schema
{
   "title": "GafaelfawrIngressTLS",
   "description": "A TLS certificate rule for an ingress.",
   "type": "object",
   "properties": {
      "hosts": {
         "items": {
            "type": "string"
         },
         "title": "Hosts",
         "type": "array"
      },
      "secretName": {
         "title": "Secretname",
         "type": "string"
      }
   },
   "required": [
      "hosts",
      "secretName"
   ]
}

Fields:
field hosts: list[str] [Required]

The hosts to which this certificate applies.

These should match the host parameters to the path rules.

field secretName: str [Required] (name 'secret_name')

The name of the secret containing the TLS certificate.

to_kubernetes()

Convert to the Kubernetes API object.

Return type:

V1IngressTLS