From 8258f0fa38fa4eb72c5dffc85f8553ba7dee3672 Mon Sep 17 00:00:00 2001 From: William Zhang Date: Fri, 12 Apr 2019 09:30:17 +0800 Subject: [PATCH] Use the latest apiVersion in k8s-v1.14.x Signed-off-by: William Zhang --- recipes/metrics-server/auth-delegator.yaml | 2 +- recipes/metrics-server/auth-reader.yaml | 2 +- recipes/metrics-server/metrics-apiservice.yaml | 2 +- recipes/metrics-server/metrics-server-deployment.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/metrics-server/auth-delegator.yaml b/recipes/metrics-server/auth-delegator.yaml index e3442c5750..87909da2f5 100644 --- a/recipes/metrics-server/auth-delegator.yaml +++ b/recipes/metrics-server/auth-delegator.yaml @@ -1,5 +1,5 @@ --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: metrics-server:system:auth-delegator diff --git a/recipes/metrics-server/auth-reader.yaml b/recipes/metrics-server/auth-reader.yaml index f0616e1635..062afa8b62 100644 --- a/recipes/metrics-server/auth-reader.yaml +++ b/recipes/metrics-server/auth-reader.yaml @@ -1,5 +1,5 @@ --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: metrics-server-auth-reader diff --git a/recipes/metrics-server/metrics-apiservice.yaml b/recipes/metrics-server/metrics-apiservice.yaml index 08b0530d80..40e7bd8eb1 100644 --- a/recipes/metrics-server/metrics-apiservice.yaml +++ b/recipes/metrics-server/metrics-apiservice.yaml @@ -1,5 +1,5 @@ --- -apiVersion: apiregistration.k8s.io/v1beta1 +apiVersion: apiregistration.k8s.io/v1 kind: APIService metadata: name: v1beta1.metrics.k8s.io diff --git a/recipes/metrics-server/metrics-server-deployment.yaml b/recipes/metrics-server/metrics-server-deployment.yaml index 4bedde4561..6b88e10eb9 100644 --- a/recipes/metrics-server/metrics-server-deployment.yaml +++ b/recipes/metrics-server/metrics-server-deployment.yaml @@ -5,7 +5,7 @@ metadata: name: metrics-server namespace: kube-system --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: metrics-server