From 0027ffa8e93408b69dece927ec95648b9190a85e Mon Sep 17 00:00:00 2001 From: sido Date: Mon, 25 Jun 2018 16:32:02 +0200 Subject: [PATCH] naming services --- nexus/v1.0.0/templates/httpd-deployment.yaml | 5 ++++- nexus/v1.0.0/templates/nexus-deployment.yaml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/nexus/v1.0.0/templates/httpd-deployment.yaml b/nexus/v1.0.0/templates/httpd-deployment.yaml index 970988c..6390f90 100644 --- a/nexus/v1.0.0/templates/httpd-deployment.yaml +++ b/nexus/v1.0.0/templates/httpd-deployment.yaml @@ -2,13 +2,16 @@ apiVersion: extensions/v1beta1 kind: Deployment metadata: creationTimestamp: null - name: nexus + name: httpd labels: app: nexus environment: production spec: replicas: 1 strategy: {} + selector: + matchLabels: + app: httod template: metadata: labels: diff --git a/nexus/v1.0.0/templates/nexus-deployment.yaml b/nexus/v1.0.0/templates/nexus-deployment.yaml index 5792230..b7bff31 100644 --- a/nexus/v1.0.0/templates/nexus-deployment.yaml +++ b/nexus/v1.0.0/templates/nexus-deployment.yaml @@ -9,6 +9,9 @@ metadata: spec: replicas: 1 strategy: {} + selector: + matchLabels: + app: nexus template: metadata: labels: