argo-cd/pkg/diff/testdata/endpoints-config.json
Rо́man b0c5e00ccf
fix: add default protocol to subset of ports if it is empty (#347)
Signed-off-by: Roman Rudenko <3kmnazapad@gmail.com>
2022-01-26 10:45:17 -08:00

55 lines
No EOL
1,017 B
JSON

{
"apiVersion": "v1",
"kind": "Endpoints",
"metadata": {
"annotations": {
"description": "A workaround to support a set of backend IPs for solr",
"linkerd.io/inject": "disabled"
},
"labels": {
"app.kubernetes.io/instance": "guestbook"
},
"name": "solrcloud",
"namespace": "default"
},
"subsets": [
{
"addresses": [
{
"ip": "172.20.10.97"
},
{
"ip": "172.20.10.98"
},
{
"ip": "172.20.10.99"
},
{
"ip": "172.20.10.100"
},
{
"ip": "172.20.10.101"
}
],
"ports": [
{
"name": "solr-http",
"port": 8080
},
{
"name": "solr-https",
"port": 8443
},
{
"name": "solr-node",
"port": 8983,
"protocol": "UDP"
},
{
"name": "solr-zookeeper",
"port": 9983
}
]
}
]
}