mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 19:31:57 +02:00
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.
This commit is contained in:
@@ -8,7 +8,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
type: "ClusterIP"
|
type: "ClusterIP"
|
||||||
selector:
|
selector:
|
||||||
application: "postgres-operator-ui"
|
name: "postgres-operator-ui"
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
protocol: "TCP"
|
protocol: "TCP"
|
||||||
|
|||||||
Reference in New Issue
Block a user