mirror of https://github.com/kubernetes/kops.git
add missing rbac roles and don't run gkenetparamset controller
This commit is contained in:
parent
52a47b0226
commit
d630f9c520
|
|
@ -61,21 +61,14 @@ func (b *GCPCloudControllerManagerOptionsBuilder) BuildOptions(options interface
|
|||
}
|
||||
|
||||
if ccmConfig.Controllers == nil {
|
||||
var changes []string
|
||||
|
||||
// Don't run gkenetworkparamset controller, looks for some CRDs (GKENetworkParamSet and Network) which are only installed on GKE
|
||||
// However, the version we're current running doesn't support this controller anyway, so we need to introduce this later,
|
||||
// possibly based on the image version.
|
||||
// changes = append(ccmConfig.Controllers, "-gkenetworkparams")
|
||||
changes := []string{"*,-gkenetworkparamset"}
|
||||
|
||||
// Turn off some controllers if kops-controller is running them
|
||||
if clusterSpec.IsKopsControllerIPAM() {
|
||||
changes = append(ccmConfig.Controllers, "-nodeipam", "-route")
|
||||
changes = append(changes, "-nodeipam", "-route")
|
||||
}
|
||||
|
||||
if len(changes) != 0 {
|
||||
ccmConfig.Controllers = append([]string{"*"}, changes...)
|
||||
}
|
||||
ccmConfig.Controllers = changes
|
||||
}
|
||||
|
||||
if ccmConfig.Image == "" {
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ spec:
|
|||
cidrAllocatorType: CloudAllocator
|
||||
clusterCIDR: 100.96.0.0/11
|
||||
clusterName: ha-gce-example-com
|
||||
controllers:
|
||||
- '*,-gkenetworkparamset'
|
||||
image: registry.k8s.io/cloud-provider-gcp/cloud-controller-manager:v26.2.4
|
||||
leaderElection:
|
||||
leaderElect: true
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ spec:
|
|||
version: 9.99.0
|
||||
- id: k8s-1.23
|
||||
manifest: gcp-cloud-controller.addons.k8s.io/k8s-1.23.yaml
|
||||
manifestHash: b9fd0b9dde71d34a4c73ebbff89ecfefd6286232846afcdd1a2d09491900d886
|
||||
manifestHash: dacbfa4c544a4b20b9354355f260c0513352d99830e549dcf78962e089d3bcd8
|
||||
name: gcp-cloud-controller.addons.k8s.io
|
||||
prune:
|
||||
kinds:
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ spec:
|
|||
- --cidr-allocator-type=CloudAllocator
|
||||
- --cluster-cidr=100.96.0.0/11
|
||||
- --cluster-name=ha-gce-example-com
|
||||
- --controllers=*,-gkenetworkparamset
|
||||
- --leader-elect=true
|
||||
- --v=2
|
||||
- --cloud-provider=gce
|
||||
|
|
@ -147,6 +148,13 @@ rules:
|
|||
- create
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- services/status
|
||||
verbs:
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
|
|
@ -252,6 +260,8 @@ rules:
|
|||
resources:
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- get
|
||||
- update
|
||||
|
||||
|
|
@ -350,8 +360,7 @@ roleRef:
|
|||
kind: ClusterRole
|
||||
name: system:cloud-controller-manager
|
||||
subjects:
|
||||
- apiGroup: ""
|
||||
kind: ServiceAccount
|
||||
- kind: ServiceAccount
|
||||
name: cloud-controller-manager
|
||||
namespace: kube-system
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@ spec:
|
|||
cidrAllocatorType: CloudAllocator
|
||||
clusterCIDR: 100.96.0.0/11
|
||||
clusterName: minimal-example-com
|
||||
controllers:
|
||||
- '*,-gkenetworkparamset'
|
||||
image: registry.k8s.io/cloud-provider-gcp/cloud-controller-manager:v26.2.4
|
||||
leaderElection:
|
||||
leaderElect: true
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ spec:
|
|||
version: 9.99.0
|
||||
- id: k8s-1.23
|
||||
manifest: gcp-cloud-controller.addons.k8s.io/k8s-1.23.yaml
|
||||
manifestHash: e40e89303c4872972482abd7a438cec5b374ea8afb3e69d2230c7835b59c2d33
|
||||
manifestHash: 9e80ca766c56a45af5a93a49a067740cf9d35716b95d300ac6f4aa08384f3544
|
||||
name: gcp-cloud-controller.addons.k8s.io
|
||||
prune:
|
||||
kinds:
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ spec:
|
|||
- --cidr-allocator-type=CloudAllocator
|
||||
- --cluster-cidr=100.96.0.0/11
|
||||
- --cluster-name=minimal-example-com
|
||||
- --controllers=*,-gkenetworkparamset
|
||||
- --leader-elect=true
|
||||
- --v=2
|
||||
- --cloud-provider=gce
|
||||
|
|
@ -147,6 +148,13 @@ rules:
|
|||
- create
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- services/status
|
||||
verbs:
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
|
|
@ -252,6 +260,8 @@ rules:
|
|||
resources:
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- get
|
||||
- update
|
||||
|
||||
|
|
@ -350,8 +360,7 @@ roleRef:
|
|||
kind: ClusterRole
|
||||
name: system:cloud-controller-manager
|
||||
subjects:
|
||||
- apiGroup: ""
|
||||
kind: ServiceAccount
|
||||
- kind: ServiceAccount
|
||||
name: cloud-controller-manager
|
||||
namespace: kube-system
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ spec:
|
|||
cidrAllocatorType: CloudAllocator
|
||||
clusterCIDR: 100.96.0.0/11
|
||||
clusterName: minimal-gce-example-com
|
||||
controllers:
|
||||
- '*,-gkenetworkparamset'
|
||||
image: registry.k8s.io/cloud-provider-gcp/cloud-controller-manager:v26.2.4
|
||||
leaderElection:
|
||||
leaderElect: true
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ spec:
|
|||
version: 9.99.0
|
||||
- id: k8s-1.23
|
||||
manifest: gcp-cloud-controller.addons.k8s.io/k8s-1.23.yaml
|
||||
manifestHash: 447139a03ae68fa785c155f0ec4bb0bc38cdb657fda9687039013d3e2353ab6d
|
||||
manifestHash: f6318f9f355302147958c18f744391cb59d0642d3002451b7ca84d1e1210f49a
|
||||
name: gcp-cloud-controller.addons.k8s.io
|
||||
prune:
|
||||
kinds:
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ spec:
|
|||
- --cidr-allocator-type=CloudAllocator
|
||||
- --cluster-cidr=100.96.0.0/11
|
||||
- --cluster-name=minimal-gce-example-com
|
||||
- --controllers=*,-gkenetworkparamset
|
||||
- --leader-elect=true
|
||||
- --v=2
|
||||
- --cloud-provider=gce
|
||||
|
|
@ -147,6 +148,13 @@ rules:
|
|||
- create
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- services/status
|
||||
verbs:
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
|
|
@ -252,6 +260,8 @@ rules:
|
|||
resources:
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- get
|
||||
- update
|
||||
|
||||
|
|
@ -350,8 +360,7 @@ roleRef:
|
|||
kind: ClusterRole
|
||||
name: system:cloud-controller-manager
|
||||
subjects:
|
||||
- apiGroup: ""
|
||||
kind: ServiceAccount
|
||||
- kind: ServiceAccount
|
||||
name: cloud-controller-manager
|
||||
namespace: kube-system
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ spec:
|
|||
cidrAllocatorType: CloudAllocator
|
||||
clusterCIDR: 100.96.0.0/11
|
||||
clusterName: minimal-gce-example-com
|
||||
controllers:
|
||||
- '*,-gkenetworkparamset'
|
||||
image: registry.k8s.io/cloud-provider-gcp/cloud-controller-manager:v26.2.4
|
||||
leaderElection:
|
||||
leaderElect: true
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ spec:
|
|||
version: 9.99.0
|
||||
- id: k8s-1.23
|
||||
manifest: gcp-cloud-controller.addons.k8s.io/k8s-1.23.yaml
|
||||
manifestHash: 447139a03ae68fa785c155f0ec4bb0bc38cdb657fda9687039013d3e2353ab6d
|
||||
manifestHash: f6318f9f355302147958c18f744391cb59d0642d3002451b7ca84d1e1210f49a
|
||||
name: gcp-cloud-controller.addons.k8s.io
|
||||
prune:
|
||||
kinds:
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ spec:
|
|||
- --cidr-allocator-type=CloudAllocator
|
||||
- --cluster-cidr=100.96.0.0/11
|
||||
- --cluster-name=minimal-gce-example-com
|
||||
- --controllers=*,-gkenetworkparamset
|
||||
- --leader-elect=true
|
||||
- --v=2
|
||||
- --cloud-provider=gce
|
||||
|
|
@ -147,6 +148,13 @@ rules:
|
|||
- create
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- services/status
|
||||
verbs:
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
|
|
@ -252,6 +260,8 @@ rules:
|
|||
resources:
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- get
|
||||
- update
|
||||
|
||||
|
|
@ -350,8 +360,7 @@ roleRef:
|
|||
kind: ClusterRole
|
||||
name: system:cloud-controller-manager
|
||||
subjects:
|
||||
- apiGroup: ""
|
||||
kind: ServiceAccount
|
||||
- kind: ServiceAccount
|
||||
name: cloud-controller-manager
|
||||
namespace: kube-system
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ spec:
|
|||
cidrAllocatorType: CloudAllocator
|
||||
clusterCIDR: 100.96.0.0/11
|
||||
clusterName: minimal-gce-ilb-example-com
|
||||
controllers:
|
||||
- '*,-gkenetworkparamset'
|
||||
image: registry.k8s.io/cloud-provider-gcp/cloud-controller-manager:v26.2.4
|
||||
leaderElection:
|
||||
leaderElect: true
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ spec:
|
|||
version: 9.99.0
|
||||
- id: k8s-1.23
|
||||
manifest: gcp-cloud-controller.addons.k8s.io/k8s-1.23.yaml
|
||||
manifestHash: f3c98b2b2ad3b91f4b82a97af7d8d58411166ac29e8a04cb04905a81ffb16ad9
|
||||
manifestHash: e28ca21950fe4c0bdd94348e91a89594c68be7e95059dbdfb0a043e33abeb0fc
|
||||
name: gcp-cloud-controller.addons.k8s.io
|
||||
prune:
|
||||
kinds:
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ spec:
|
|||
- --cidr-allocator-type=CloudAllocator
|
||||
- --cluster-cidr=100.96.0.0/11
|
||||
- --cluster-name=minimal-gce-ilb-example-com
|
||||
- --controllers=*,-gkenetworkparamset
|
||||
- --leader-elect=true
|
||||
- --v=2
|
||||
- --cloud-provider=gce
|
||||
|
|
@ -147,6 +148,13 @@ rules:
|
|||
- create
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- services/status
|
||||
verbs:
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
|
|
@ -252,6 +260,8 @@ rules:
|
|||
resources:
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- get
|
||||
- update
|
||||
|
||||
|
|
@ -350,8 +360,7 @@ roleRef:
|
|||
kind: ClusterRole
|
||||
name: system:cloud-controller-manager
|
||||
subjects:
|
||||
- apiGroup: ""
|
||||
kind: ServiceAccount
|
||||
- kind: ServiceAccount
|
||||
name: cloud-controller-manager
|
||||
namespace: kube-system
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ spec:
|
|||
cidrAllocatorType: CloudAllocator
|
||||
clusterCIDR: 100.96.0.0/11
|
||||
clusterName: minimal-gce-with-a-very-very-very-very-very-long-name-example-com
|
||||
controllers:
|
||||
- '*,-gkenetworkparamset'
|
||||
image: registry.k8s.io/cloud-provider-gcp/cloud-controller-manager:v26.2.4
|
||||
leaderElection:
|
||||
leaderElect: true
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ spec:
|
|||
version: 9.99.0
|
||||
- id: k8s-1.23
|
||||
manifest: gcp-cloud-controller.addons.k8s.io/k8s-1.23.yaml
|
||||
manifestHash: 04674610fafbf0bf7a284d39cd3bb8c5fc5e3ff1707c218cb235d60debaf536b
|
||||
manifestHash: 854e64edebc744f2d8e7ee5dff7342e3a7f5ba3dd385a2446a4c6e10fe9c23f3
|
||||
name: gcp-cloud-controller.addons.k8s.io
|
||||
prune:
|
||||
kinds:
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ spec:
|
|||
- --cidr-allocator-type=CloudAllocator
|
||||
- --cluster-cidr=100.96.0.0/11
|
||||
- --cluster-name=minimal-gce-with-a-very-very-very-very-very-long-name-example-com
|
||||
- --controllers=*,-gkenetworkparamset
|
||||
- --leader-elect=true
|
||||
- --v=2
|
||||
- --cloud-provider=gce
|
||||
|
|
@ -147,6 +148,13 @@ rules:
|
|||
- create
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- services/status
|
||||
verbs:
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
|
|
@ -252,6 +260,8 @@ rules:
|
|||
resources:
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- get
|
||||
- update
|
||||
|
||||
|
|
@ -350,8 +360,7 @@ roleRef:
|
|||
kind: ClusterRole
|
||||
name: system:cloud-controller-manager
|
||||
subjects:
|
||||
- apiGroup: ""
|
||||
kind: ServiceAccount
|
||||
- kind: ServiceAccount
|
||||
name: cloud-controller-manager
|
||||
namespace: kube-system
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ spec:
|
|||
cidrAllocatorType: CloudAllocator
|
||||
clusterCIDR: 100.96.0.0/11
|
||||
clusterName: minimal-gce-with-a-very-very-very-very-very-long-name-example-com
|
||||
controllers:
|
||||
- '*,-gkenetworkparamset'
|
||||
image: registry.k8s.io/cloud-provider-gcp/cloud-controller-manager:v26.2.4
|
||||
leaderElection:
|
||||
leaderElect: true
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ spec:
|
|||
version: 9.99.0
|
||||
- id: k8s-1.23
|
||||
manifest: gcp-cloud-controller.addons.k8s.io/k8s-1.23.yaml
|
||||
manifestHash: 04674610fafbf0bf7a284d39cd3bb8c5fc5e3ff1707c218cb235d60debaf536b
|
||||
manifestHash: 854e64edebc744f2d8e7ee5dff7342e3a7f5ba3dd385a2446a4c6e10fe9c23f3
|
||||
name: gcp-cloud-controller.addons.k8s.io
|
||||
prune:
|
||||
kinds:
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ spec:
|
|||
- --cidr-allocator-type=CloudAllocator
|
||||
- --cluster-cidr=100.96.0.0/11
|
||||
- --cluster-name=minimal-gce-with-a-very-very-very-very-very-long-name-example-com
|
||||
- --controllers=*,-gkenetworkparamset
|
||||
- --leader-elect=true
|
||||
- --v=2
|
||||
- --cloud-provider=gce
|
||||
|
|
@ -147,6 +148,13 @@ rules:
|
|||
- create
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- services/status
|
||||
verbs:
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
|
|
@ -252,6 +260,8 @@ rules:
|
|||
resources:
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- get
|
||||
- update
|
||||
|
||||
|
|
@ -350,8 +360,7 @@ roleRef:
|
|||
kind: ClusterRole
|
||||
name: system:cloud-controller-manager
|
||||
subjects:
|
||||
- apiGroup: ""
|
||||
kind: ServiceAccount
|
||||
- kind: ServiceAccount
|
||||
name: cloud-controller-manager
|
||||
namespace: kube-system
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ spec:
|
|||
cidrAllocatorType: CloudAllocator
|
||||
clusterCIDR: 100.96.0.0/11
|
||||
clusterName: minimal-gce-plb-example-com
|
||||
controllers:
|
||||
- '*,-gkenetworkparamset'
|
||||
image: registry.k8s.io/cloud-provider-gcp/cloud-controller-manager:v26.2.4
|
||||
leaderElection:
|
||||
leaderElect: true
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ spec:
|
|||
version: 9.99.0
|
||||
- id: k8s-1.23
|
||||
manifest: gcp-cloud-controller.addons.k8s.io/k8s-1.23.yaml
|
||||
manifestHash: 25977d1f21dea7d3b29bdd65ae4f1a454e2539e9e53f94ea193e5e0c543dbb41
|
||||
manifestHash: fd710d47ea12ec2f0662ec4ca628c1050d28310ea8631c811dba6baef89f14df
|
||||
name: gcp-cloud-controller.addons.k8s.io
|
||||
prune:
|
||||
kinds:
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ spec:
|
|||
- --cidr-allocator-type=CloudAllocator
|
||||
- --cluster-cidr=100.96.0.0/11
|
||||
- --cluster-name=minimal-gce-plb-example-com
|
||||
- --controllers=*,-gkenetworkparamset
|
||||
- --leader-elect=true
|
||||
- --v=2
|
||||
- --cloud-provider=gce
|
||||
|
|
@ -147,6 +148,13 @@ rules:
|
|||
- create
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- services/status
|
||||
verbs:
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
|
|
@ -252,6 +260,8 @@ rules:
|
|||
resources:
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- get
|
||||
- update
|
||||
|
||||
|
|
@ -350,8 +360,7 @@ roleRef:
|
|||
kind: ClusterRole
|
||||
name: system:cloud-controller-manager
|
||||
subjects:
|
||||
- apiGroup: ""
|
||||
kind: ServiceAccount
|
||||
- kind: ServiceAccount
|
||||
name: cloud-controller-manager
|
||||
namespace: kube-system
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ spec:
|
|||
cidrAllocatorType: CloudAllocator
|
||||
clusterCIDR: 100.96.0.0/11
|
||||
clusterName: minimal-gce-private-example-com
|
||||
controllers:
|
||||
- '*,-gkenetworkparamset'
|
||||
image: registry.k8s.io/cloud-provider-gcp/cloud-controller-manager:v26.2.4
|
||||
leaderElection:
|
||||
leaderElect: true
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ spec:
|
|||
version: 9.99.0
|
||||
- id: k8s-1.23
|
||||
manifest: gcp-cloud-controller.addons.k8s.io/k8s-1.23.yaml
|
||||
manifestHash: 553ec14dae35de48048472c7463f696dad7cc05aa5233202ae19d4b4c53b39bf
|
||||
manifestHash: 2643e77f40cb84dc4d7b873a80f88a5f682cc19d5cd9c1fd9b546bb149a8f000
|
||||
name: gcp-cloud-controller.addons.k8s.io
|
||||
prune:
|
||||
kinds:
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ spec:
|
|||
- --cidr-allocator-type=CloudAllocator
|
||||
- --cluster-cidr=100.96.0.0/11
|
||||
- --cluster-name=minimal-gce-private-example-com
|
||||
- --controllers=*,-gkenetworkparamset
|
||||
- --leader-elect=true
|
||||
- --v=2
|
||||
- --cloud-provider=gce
|
||||
|
|
@ -147,6 +148,13 @@ rules:
|
|||
- create
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- services/status
|
||||
verbs:
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
|
|
@ -252,6 +260,8 @@ rules:
|
|||
resources:
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- get
|
||||
- update
|
||||
|
||||
|
|
@ -350,8 +360,7 @@ roleRef:
|
|||
kind: ClusterRole
|
||||
name: system:cloud-controller-manager
|
||||
subjects:
|
||||
- apiGroup: ""
|
||||
kind: ServiceAccount
|
||||
- kind: ServiceAccount
|
||||
name: cloud-controller-manager
|
||||
namespace: kube-system
|
||||
|
||||
|
|
|
|||
|
|
@ -123,6 +123,13 @@ rules:
|
|||
- create
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- services/status
|
||||
verbs:
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
|
|
@ -222,6 +229,8 @@ rules:
|
|||
resourceNames:
|
||||
- cloud-controller-manager
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- get
|
||||
- update
|
||||
---
|
||||
|
|
@ -306,7 +315,6 @@ roleRef:
|
|||
name: system:cloud-controller-manager
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
apiGroup: ""
|
||||
name: cloud-controller-manager
|
||||
namespace: kube-system
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in New Issue