Browse Source

Use the latest apiVersion in k8s-v1.14.x

Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
pull/337/head
William Zhang 6 years ago
parent
commit
8258f0fa38
  1. 2
      recipes/metrics-server/auth-delegator.yaml
  2. 2
      recipes/metrics-server/auth-reader.yaml
  3. 2
      recipes/metrics-server/metrics-apiservice.yaml
  4. 2
      recipes/metrics-server/metrics-server-deployment.yaml

2
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

2
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

2
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

2
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

Loading…
Cancel
Save