From ab75b05f5fc68ba1a9208dc6fee353b5463206f2 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Fri, 20 Sep 2019 13:45:56 -0700 Subject: [PATCH] chart: Update to use appsV1 API Signed-off-by: Sheng Yang --- chart/templates/clusterrole.yaml | 2 +- chart/templates/clusterrolebinding.yaml | 2 +- chart/templates/daemonset-sa.yaml | 2 +- chart/templates/deployment-driver.yaml | 2 +- chart/templates/deployment-ui.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/templates/clusterrole.yaml b/chart/templates/clusterrole.yaml index df8dd40..15914e7 100644 --- a/chart/templates/clusterrole.yaml +++ b/chart/templates/clusterrole.yaml @@ -1,4 +1,4 @@ -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: longhorn-role diff --git a/chart/templates/clusterrolebinding.yaml b/chart/templates/clusterrolebinding.yaml index 12bcd53..3a73990 100644 --- a/chart/templates/clusterrolebinding.yaml +++ b/chart/templates/clusterrolebinding.yaml @@ -1,4 +1,4 @@ -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: longhorn-bind diff --git a/chart/templates/daemonset-sa.yaml b/chart/templates/daemonset-sa.yaml index 58c2782..4b5577b 100644 --- a/chart/templates/daemonset-sa.yaml +++ b/chart/templates/daemonset-sa.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: DaemonSet metadata: labels: diff --git a/chart/templates/deployment-driver.yaml b/chart/templates/deployment-driver.yaml index 1d21924..8638a2b 100644 --- a/chart/templates/deployment-driver.yaml +++ b/chart/templates/deployment-driver.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: Deployment metadata: name: longhorn-driver-deployer diff --git a/chart/templates/deployment-ui.yaml b/chart/templates/deployment-ui.yaml index b8e641e..694fe19 100644 --- a/chart/templates/deployment-ui.yaml +++ b/chart/templates/deployment-ui.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: Deployment metadata: labels: