Skip to content

Commit

Permalink
1.20.1: update api
Browse files Browse the repository at this point in the history
  • Loading branch information
marthanda93 committed May 27, 2021
1 parent eacaaf4 commit 06bf232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes/hard-way/1.21.0/script/bootstrap_master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ EOF

# RBAC for Kubelet Authorization
cat <<EOF | tee /home/vagrant/certificates/cluster_role.yaml
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
annotations:
Expand All @@ -236,7 +236,7 @@ rules:
EOF

cat <<EOF | tee /home/vagrant/certificates/cluster_role_binding.yaml
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: system:kube-apiserver
Expand Down

0 comments on commit 06bf232

Please sign in to comment.