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:
Kamil Solecki 2020-06-04 16:49:22 +02:00 committed by GitHub
parent 2b0def5bc8
commit 9acdcd8bbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ metadata:
spec:
type: "ClusterIP"
selector:
application: "postgres-operator-ui"
name: "postgres-operator-ui"
ports:
- port: 80
protocol: "TCP"