Fix apiVersion used for ClusterRole
This commit is contained in:
committed by
Peter (XiangPeng) Zhao
parent
a3fa110feb
commit
d1722f78cb
@@ -172,7 +172,7 @@ v1/ServiceAccount:
|
||||
针对CCM的RBAC ClusterRole如下所示:
|
||||
|
||||
```yaml
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: cloud-controller-manager
|
||||
|
||||
@@ -174,7 +174,7 @@ v1/ServiceAccount:
|
||||
The RBAC ClusterRole for the CCM looks like this:
|
||||
|
||||
```yaml
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: cloud-controller-manager
|
||||
|
||||
Reference in New Issue
Block a user