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: