diff --git a/nfs-client/deploy/deployment-arm.yaml b/nfs-client/deploy/deployment-arm.yaml index feef4efc81d..8fce284273c 100644 --- a/nfs-client/deploy/deployment-arm.yaml +++ b/nfs-client/deploy/deployment-arm.yaml @@ -4,11 +4,14 @@ metadata: name: nfs-client-provisioner --- kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 metadata: name: nfs-client-provisioner spec: replicas: 1 + selector: + matchLabels: + app: nfs-client-provisioner strategy: type: Recreate template: diff --git a/nfs-client/deploy/deployment.yaml b/nfs-client/deploy/deployment.yaml index 271ca0601ed..911618fb66e 100644 --- a/nfs-client/deploy/deployment.yaml +++ b/nfs-client/deploy/deployment.yaml @@ -4,11 +4,14 @@ metadata: name: nfs-client-provisioner --- kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 metadata: name: nfs-client-provisioner spec: replicas: 1 + selector: + matchLabels: + app: nfs-client-provisioner strategy: type: Recreate template: