ServiceTypeSpecPatch#
- pydantic model phalanx.models.kubernetes.ServiceTypeSpecPatch#
A patch to a Service spec containing an IP address.
- Parameters:
data (
Any)
Show JSON schema
{ "title": "ServiceTypeSpecPatch", "description": "A patch to a Service spec containing an IP address.", "type": "object", "properties": { "type": { "$ref": "#/$defs/ServiceType" } }, "$defs": { "ServiceType": { "description": "Valid values for the spec.type field of a Service.", "enum": [ "ClusterIP", "LoadBalancer" ], "title": "ServiceType", "type": "string" } }, "required": [ "type" ] }
- Config:
validate_by_name: bool = True
- Fields:
-
field type:
ServiceType[Required]# The spec.type of the Service.