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如下所示:
|
针对CCM的RBAC ClusterRole如下所示:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: cloud-controller-manager
|
name: cloud-controller-manager
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ v1/ServiceAccount:
|
|||||||
The RBAC ClusterRole for the CCM looks like this:
|
The RBAC ClusterRole for the CCM looks like this:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: cloud-controller-manager
|
name: cloud-controller-manager
|
||||||
|
|||||||
Reference in New Issue
Block a user