GafaelfawrIngressMetadata#
- pydantic model gafaelfawr.models.kubernetes.GafaelfawrIngressMetadata#
Metadata used to create an
Ingress
object.- Parameters:
data (
Any
) –
Show JSON schema
{ "title": "GafaelfawrIngressMetadata", "description": "Metadata used to create an ``Ingress`` object.", "type": "object", "properties": { "name": { "title": "Name", "type": "string" }, "annotations": { "additionalProperties": { "type": "string" }, "title": "Annotations", "type": "object" }, "labels": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null, "title": "Labels" } }, "required": [ "name" ] }
- field annotations: dict[str, str] [Optional]#
Annotations to add to the ingress.
- field labels: dict[str, str] | None = None#
Labels to add to the ingress.
- field name: str [Required]#
Name of the ingress.
- model_dump(**kwargs)#
Export the model as a dictionary.
Overridden to change the default of
by_alias
from False to True, so that by default the exported dictionary uses camel-case.