77 lines
2.1 KiB
YAML
77 lines
2.1 KiB
YAML
{
|
|
"apiVersion": "v1",
|
|
"kind": "List",
|
|
"items": [
|
|
{
|
|
"apiVersion": "v1",
|
|
"kind": "Service",
|
|
"metadata": {
|
|
"name": "nc01-host-postgres",
|
|
"namespace": "hwlab-v03",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "nc01-host-postgres",
|
|
"app.kubernetes.io/part-of": "hwlab",
|
|
"hwlab.pikastech.local/component": "platform-db-bridge",
|
|
"hwlab.pikastech.local/environment": "v03",
|
|
"hwlab.pikastech.local/gitops-target": "v03",
|
|
"hwlab.pikastech.local/profile": "v03",
|
|
"hwlab.pikastech.local/source-commit": "0a89e5799e406b1ba949791487c5463cc5308c44"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs"
|
|
}
|
|
},
|
|
"spec": {
|
|
"type": "ClusterIP",
|
|
"ports": [
|
|
{
|
|
"name": "postgres",
|
|
"port": 5432,
|
|
"targetPort": 5432,
|
|
"protocol": "TCP"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"apiVersion": "discovery.k8s.io/v1",
|
|
"kind": "EndpointSlice",
|
|
"metadata": {
|
|
"name": "nc01-host-postgres-host",
|
|
"namespace": "hwlab-v03",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "nc01-host-postgres",
|
|
"app.kubernetes.io/part-of": "hwlab",
|
|
"hwlab.pikastech.local/component": "platform-db-bridge",
|
|
"hwlab.pikastech.local/environment": "v03",
|
|
"hwlab.pikastech.local/gitops-target": "v03",
|
|
"hwlab.pikastech.local/profile": "v03",
|
|
"hwlab.pikastech.local/source-commit": "0a89e5799e406b1ba949791487c5463cc5308c44",
|
|
"kubernetes.io/service-name": "nc01-host-postgres"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs"
|
|
}
|
|
},
|
|
"addressType": "IPv4",
|
|
"ports": [
|
|
{
|
|
"name": "postgres",
|
|
"port": 5432,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"endpoints": [
|
|
{
|
|
"addresses": [
|
|
"10.42.0.1"
|
|
],
|
|
"conditions": {
|
|
"ready": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|