mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 02:08:13 +00:00 
			
		
		
		
	Add read permissions for statefulsets for kube-scheduler
This commit is contained in:
		| @@ -351,6 +351,7 @@ func ClusterRoles() []rbac.ClusterRole { | ||||
| 				// things that select pods | ||||
| 				rbac.NewRule(Read...).Groups(legacyGroup).Resources("services", "replicationcontrollers").RuleOrDie(), | ||||
| 				rbac.NewRule(Read...).Groups(extensionsGroup).Resources("replicasets").RuleOrDie(), | ||||
| 				rbac.NewRule(Read...).Groups(appsGroup).Resources("statefulsets").RuleOrDie(), | ||||
| 				// things that pods use | ||||
| 				rbac.NewRule(Read...).Groups(legacyGroup).Resources("persistentvolumeclaims", "persistentvolumes").RuleOrDie(), | ||||
| 			}, | ||||
|   | ||||
| @@ -645,6 +645,14 @@ items: | ||||
|     - get | ||||
|     - list | ||||
|     - watch | ||||
|   - apiGroups: | ||||
|     - apps | ||||
|     resources: | ||||
|     - statefulsets | ||||
|     verbs: | ||||
|     - get | ||||
|     - list | ||||
|     - watch | ||||
|   - apiGroups: | ||||
|     - "" | ||||
|     resources: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jordan Liggitt
					Jordan Liggitt