Upgrading kubernetes API

Change-Id: I279db986e2dab1ebcb5b48b4195363af395c8de3
diff --git a/dhcp-server/templates/deployment.yaml b/dhcp-server/templates/deployment.yaml
index 4a63279..7daaeb6 100644
--- a/dhcp-server/templates/deployment.yaml
+++ b/dhcp-server/templates/deployment.yaml
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
 kind: Deployment
 metadata:
   name: dhcp-server
@@ -21,6 +21,10 @@
     app: dhcp-server
 spec:
   replicas: 1
+  selector:
+    matchLabels:
+      name: dhcp-server
+      release: {{ .Release.Name }}
   template:
     metadata:
       labels: