Updated API Version, Added selector field.

This commit is contained in:
TJ Zimmerman 2019-09-30 17:18:52 -07:00
parent 95cdb664bd
commit c6853e0440
2 changed files with 8 additions and 2 deletions

View File

@ -4,11 +4,14 @@ metadata:
name: nfs-client-provisioner name: nfs-client-provisioner
--- ---
kind: Deployment kind: Deployment
apiVersion: extensions/v1beta1 apiVersion: apps/v1
metadata: metadata:
name: nfs-client-provisioner name: nfs-client-provisioner
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
app: nfs-client-provisioner
strategy: strategy:
type: Recreate type: Recreate
template: template:

View File

@ -4,11 +4,14 @@ metadata:
name: nfs-client-provisioner name: nfs-client-provisioner
--- ---
kind: Deployment kind: Deployment
apiVersion: extensions/v1beta1 apiVersion: apps/v1
metadata: metadata:
name: nfs-client-provisioner name: nfs-client-provisioner
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
app: nfs-client-provisioner
strategy: strategy:
type: Recreate type: Recreate
template: template: