Files

85 lines
1.4 KiB
JSON

{
"type": "object",
"required": [
"enabled",
"portType",
"portRange"
],
"properties": {
"enabled": {
"type": "boolean"
},
"annotations": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"portType": {
"type": "string",
"enum": [
"ClusterIP",
"NodePort",
"HostPort",
"LoadBalancer"
]
},
"internalTrafficPolicy": {
"type": "string",
"enum": [
"Cluster",
"Local"
]
},
"externalTrafficPolicy": {
"type": "string",
"enum": [
"Cluster",
"Local"
]
},
"portRange": {
"type": "object",
"required": [
"startPort",
"endPort"
],
"properties": {
"startPort": {
"type": "number"
},
"endPort": {
"type": "number"
},
"nodePort": {
"type": "string"
}
}
},
"externalIPs": {
"type": "array",
"items": {
"type": "string"
}
},
"ipFamilyPolicy": {
"type": "string",
"enum": [
"SingleStack",
"PreferDualStack",
"RequireDualStack"
]
},
"ipFamilies": {
"type": "array",
"items": {
"type": "string",
"enum": [
"IPv4",
"IPv6"
]
}
}
}
}