From b4d74719b2a6b3f4757f7d22f6460bd8b7b42899 Mon Sep 17 00:00:00 2001 From: Matthew Wong Date: Tue, 14 Jan 2020 23:56:37 +0000 Subject: [PATCH] Replace all extensions/v1beta1 --- aws/efs/deploy/manifest.yaml | 2 +- gluster/block/deploy/deployment.yaml | 2 +- gluster/file/deploy/deployment.yaml | 2 +- gluster/glusterfs/deploy/deployment.yaml | 2 +- gluster/glusterfs/deploy/glusterfs-daemonset.yaml | 2 +- iscsi/targetd/kubernetes/iscsi-provisioner-d.yaml | 2 +- local-volume/examples/local-reader.yaml | 2 +- .../example/default_example_provisioner_generated.yaml | 2 +- .../kubernetes/gce/provisioner_generated_gce_ssd_count.yaml | 2 +- .../kubernetes/gce/provisioner_generated_gce_ssd_volumes.yaml | 2 +- nfs-client/deploy/objects/deployment-arm.yaml | 2 +- nfs-client/deploy/objects/deployment.yaml | 2 +- nfs/deploy/kubernetes/psp.yaml | 2 +- snapshot/deploy/kubernetes/aws/deployment.yaml | 2 +- snapshot/deploy/kubernetes/hostpath/deployment.yaml | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/aws/efs/deploy/manifest.yaml b/aws/efs/deploy/manifest.yaml index 889a8b2d070..ecbbf8c266c 100644 --- a/aws/efs/deploy/manifest.yaml +++ b/aws/efs/deploy/manifest.yaml @@ -10,7 +10,7 @@ data: dns.name: "" --- kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 metadata: name: efs-provisioner spec: diff --git a/gluster/block/deploy/deployment.yaml b/gluster/block/deploy/deployment.yaml index bf199a64a72..964dd5ad2b8 100644 --- a/gluster/block/deploy/deployment.yaml +++ b/gluster/block/deploy/deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: glusterblock-provisioner diff --git a/gluster/file/deploy/deployment.yaml b/gluster/file/deploy/deployment.yaml index 31b3f0daf36..ea6584f9ddf 100644 --- a/gluster/file/deploy/deployment.yaml +++ b/gluster/file/deploy/deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: glusterfile-provisioner diff --git a/gluster/glusterfs/deploy/deployment.yaml b/gluster/glusterfs/deploy/deployment.yaml index 6fa9d4eaa44..5a028313758 100644 --- a/gluster/glusterfs/deploy/deployment.yaml +++ b/gluster/glusterfs/deploy/deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: glusterfs-simple-provisioner diff --git a/gluster/glusterfs/deploy/glusterfs-daemonset.yaml b/gluster/glusterfs/deploy/glusterfs-daemonset.yaml index 870d4311b88..a7f4c95747c 100644 --- a/gluster/glusterfs/deploy/glusterfs-daemonset.yaml +++ b/gluster/glusterfs/deploy/glusterfs-daemonset.yaml @@ -1,6 +1,6 @@ --- kind: DaemonSet -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 metadata: name: glusterfs labels: diff --git a/iscsi/targetd/kubernetes/iscsi-provisioner-d.yaml b/iscsi/targetd/kubernetes/iscsi-provisioner-d.yaml index a287794b4de..8d645a0c109 100644 --- a/iscsi/targetd/kubernetes/iscsi-provisioner-d.yaml +++ b/iscsi/targetd/kubernetes/iscsi-provisioner-d.yaml @@ -35,7 +35,7 @@ metadata: name: iscsi-provisioner --- kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 metadata: name: iscsi-provisioner spec: diff --git a/local-volume/examples/local-reader.yaml b/local-volume/examples/local-reader.yaml index 20f579dedfe..a2a2d4e6d79 100644 --- a/local-volume/examples/local-reader.yaml +++ b/local-volume/examples/local-reader.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: local-test-reader diff --git a/local-volume/provisioner/deployment/kubernetes/example/default_example_provisioner_generated.yaml b/local-volume/provisioner/deployment/kubernetes/example/default_example_provisioner_generated.yaml index 40023727df8..db68b4df2c7 100644 --- a/local-volume/provisioner/deployment/kubernetes/example/default_example_provisioner_generated.yaml +++ b/local-volume/provisioner/deployment/kubernetes/example/default_example_provisioner_generated.yaml @@ -17,7 +17,7 @@ data: volumeMode: Filesystem fsType: ext4 --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: local-volume-provisioner diff --git a/local-volume/provisioner/deployment/kubernetes/gce/provisioner_generated_gce_ssd_count.yaml b/local-volume/provisioner/deployment/kubernetes/gce/provisioner_generated_gce_ssd_count.yaml index 18708fadec4..749934562bb 100644 --- a/local-volume/provisioner/deployment/kubernetes/gce/provisioner_generated_gce_ssd_count.yaml +++ b/local-volume/provisioner/deployment/kubernetes/gce/provisioner_generated_gce_ssd_count.yaml @@ -13,7 +13,7 @@ data: hostDir: /mnt/disks mountDir: /mnt/disks --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: local-volume-provisioner diff --git a/local-volume/provisioner/deployment/kubernetes/gce/provisioner_generated_gce_ssd_volumes.yaml b/local-volume/provisioner/deployment/kubernetes/gce/provisioner_generated_gce_ssd_volumes.yaml index 40299fd91fe..7e4eaff11b9 100644 --- a/local-volume/provisioner/deployment/kubernetes/gce/provisioner_generated_gce_ssd_volumes.yaml +++ b/local-volume/provisioner/deployment/kubernetes/gce/provisioner_generated_gce_ssd_volumes.yaml @@ -16,7 +16,7 @@ data: hostDir: /mnt/disks/by-uuid/google-local-ssds-nvme-fs mountDir: /mnt/disks/by-uuid/google-local-ssds-nvme-fs --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: local-volume-provisioner diff --git a/nfs-client/deploy/objects/deployment-arm.yaml b/nfs-client/deploy/objects/deployment-arm.yaml index 9cced7e5a49..cb794f46172 100644 --- a/nfs-client/deploy/objects/deployment-arm.yaml +++ b/nfs-client/deploy/objects/deployment-arm.yaml @@ -1,5 +1,5 @@ kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 metadata: name: nfs-client-provisioner spec: diff --git a/nfs-client/deploy/objects/deployment.yaml b/nfs-client/deploy/objects/deployment.yaml index 1b79367651e..e0cec5ab68f 100644 --- a/nfs-client/deploy/objects/deployment.yaml +++ b/nfs-client/deploy/objects/deployment.yaml @@ -1,5 +1,5 @@ kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 metadata: name: nfs-client-provisioner spec: diff --git a/nfs/deploy/kubernetes/psp.yaml b/nfs/deploy/kubernetes/psp.yaml index 2f8e188929f..03fd080020b 100644 --- a/nfs/deploy/kubernetes/psp.yaml +++ b/nfs/deploy/kubernetes/psp.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: name: nfs-provisioner diff --git a/snapshot/deploy/kubernetes/aws/deployment.yaml b/snapshot/deploy/kubernetes/aws/deployment.yaml index 62ef9a9f81a..79387145926 100644 --- a/snapshot/deploy/kubernetes/aws/deployment.yaml +++ b/snapshot/deploy/kubernetes/aws/deployment.yaml @@ -1,5 +1,5 @@ kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 metadata: name: snapshot-controller spec: diff --git a/snapshot/deploy/kubernetes/hostpath/deployment.yaml b/snapshot/deploy/kubernetes/hostpath/deployment.yaml index 0050221f826..ec8b9ae422b 100644 --- a/snapshot/deploy/kubernetes/hostpath/deployment.yaml +++ b/snapshot/deploy/kubernetes/hostpath/deployment.yaml @@ -1,5 +1,5 @@ kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 metadata: name: snapshot-controller spec: