Files
postgres-operator/ui/manifests/service.yaml
T
Kamil Solecki 9acdcd8bbf Make selector match labels defined in the deployment (#1001)
Currently, the deployment manifest specifies two labels: `name` and `team`.
This fixes the service not matching the deployed pods by chosing a correct selector.
2020-06-04 16:49:22 +02:00

16 lines
287 B
YAML

apiVersion: "v1"
kind: "Service"
metadata:
name: "postgres-operator-ui"
namespace: "default"
labels:
application: "postgres-operator-ui"
spec:
type: "ClusterIP"
selector:
name: "postgres-operator-ui"
ports:
- port: 80
protocol: "TCP"
targetPort: 8081