title: Unable to helm install due to deployment manifest issue
body: <p>While trying to perform <code>helm install</code></p>
  
  <blockquote>
    <p>Error: unable to build kubernetes objects from release manifest:
    [unable to recognize "": no matches for kind "Service" in version
    "extensions/v1beta1", error validating "": error validating data:
    ValidationError(Deployment.spec): missing required field "selector" in
    io.k8s.api.apps.v1.DeploymentSpec]</p>
  </blockquote>
  
  <p>My <code>service.yaml</code> looks like below</p>
  
  <pre><code>apiVersion: extensions/v1beta1
  kind: Service
  metadata:
    name: helm-xxx-helper-api
  spec:
    type: NodePort
    ports:
      - nodePort: 31235
        port: 80
        targetPort: 8080
    selector:
       app: helm-xxx-helper
  </code></pre>
  
  <p>My <code>deployment.yaml</code> </p>
  
  <pre><code>---
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: helm-xxx-helper
  spec:
    replicas: 2
    selector:
      matchLabels:
      name: helm-xxx-helper
    template:
      metadata:
        labels:
          app: helm-xxx-helper
      spec:
        containers:
        - name: helm-xxx-helper
          image: xxxxxxxxx:5001/devops/xxx-helper:latest
          imagePullPolicy: Always
          env:
            - name: XXX_STAGE
              value: "DEV"
          ports:
          - containerPort: 8080
  </code></pre>
  
  <p>What could be the issue here?</p>