diff --git a/ente-photos/ente-deployment.yaml b/ente-photos/ente-deployment.yaml index 7a2e99e..dd88ace 100644 --- a/ente-photos/ente-deployment.yaml +++ b/ente-photos/ente-deployment.yaml @@ -1,20 +1,18 @@ apiVersion: apps/v1 kind: Deployment metadata: - labels: - io.kompose.service: museum name: museum spec: replicas: 1 selector: matchLabels: - io.kompose.service: museum + app: ente strategy: type: Recreate template: metadata: labels: - io.kompose.service: museum + app: ente spec: containers: - env: diff --git a/ente-photos/museum-service.yaml b/ente-photos/museum-service.yaml index 5b3b155..3021bbe 100644 --- a/ente-photos/museum-service.yaml +++ b/ente-photos/museum-service.yaml @@ -1,10 +1,11 @@ apiVersion: v1 kind: Service metadata: - labels: - io.kompose.service: museum name: museum spec: + selector: + matchLabels: + app: ente ports: - name: "8080" port: 8080 @@ -12,5 +13,3 @@ spec: - name: "2112" port: 2112 targetPort: 2112 - selector: - io.kompose.service: museum