77 lines
2.2 KiB
YAML
77 lines
2.2 KiB
YAML
{
|
|
"apiVersion": "v1",
|
|
"kind": "List",
|
|
"items": [
|
|
{
|
|
"apiVersion": "v1",
|
|
"kind": "Service",
|
|
"metadata": {
|
|
"name": "jd01-pk01-platform-postgres",
|
|
"namespace": "hwlab-v03",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "jd01-pk01-platform-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": "221f76a7ef9a6ba420ab74b6d3b575e08fb6299e"
|
|
},
|
|
"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": "jd01-pk01-platform-postgres-host",
|
|
"namespace": "hwlab-v03",
|
|
"labels": {
|
|
"app.kubernetes.io/name": "jd01-pk01-platform-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": "221f76a7ef9a6ba420ab74b6d3b575e08fb6299e",
|
|
"kubernetes.io/service-name": "jd01-pk01-platform-postgres"
|
|
},
|
|
"annotations": {
|
|
"hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs"
|
|
}
|
|
},
|
|
"addressType": "IPv4",
|
|
"ports": [
|
|
{
|
|
"name": "postgres",
|
|
"port": 5432,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"endpoints": [
|
|
{
|
|
"addresses": [
|
|
"82.156.23.220"
|
|
],
|
|
"conditions": {
|
|
"ready": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|