Files
ess-helm/charts/matrix-stack/source/synapse/ingress_with_additional_paths.json
Gaël Goinvic 508a58c105 Ingress services: Add support for annotations
- This allows testing expected external IPs
- It can also help support LoadBalancer ingresses
2026-01-27 13:03:24 +01:00

104 lines
2.1 KiB
JSON

{
"type": "object",
"properties": {
"annotations": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"host": {
"type": "string"
},
"className": {
"type": "string"
},
"tlsEnabled": {
"type": "boolean"
},
"tlsSecret": {
"type": "string"
},
"controllerType": {
"type": "string",
"enum": [
"ingress-nginx"
]
},
"service": {
"$ref": "file://common/service.json"
},
"additionalPaths": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"availability"
],
"properties": {
"path": {
"type": "string"
},
"availability": {
"type": "string",
"enum": [
"internally_and_externally",
"only_externally",
"blocked"
]
},
"service": {
"type": "object",
"required": [
"name",
"port"
],
"properties": {
"name": {
"type": "string"
},
"port": {
"type": "object",
"oneOf": [
{
"required": [
"name"
],
"not": {
"required": [
"number"
]
}
},
{
"required": [
"number"
],
"not": {
"required": [
"name"
]
}
}
],
"properties": {
"name": {
"type": "string"
},
"number": {
"type": "integer"
}
}
}
}
}
}
}
}
}
}