fix: track external postgres endpointslice
This commit is contained in:
@@ -4785,12 +4785,6 @@ function externalPostgresManifest({ profile = "v03", config, source }) {
|
||||
metadata: { name: config.serviceName, namespace, labels, annotations },
|
||||
spec: { type: "ClusterIP", ports: [{ name: "postgres", port: config.port, targetPort: config.port, protocol: "TCP" }] }
|
||||
},
|
||||
{
|
||||
apiVersion: "v1",
|
||||
kind: "Endpoints",
|
||||
metadata: { name: config.serviceName, namespace, labels, annotations },
|
||||
subsets: [{ addresses: [{ ip: config.endpointAddress }], ports: [{ name: "postgres", port: config.port, protocol: "TCP" }] }]
|
||||
},
|
||||
{
|
||||
apiVersion: "discovery.k8s.io/v1",
|
||||
kind: "EndpointSlice",
|
||||
|
||||
Reference in New Issue
Block a user