mirror of
				https://github.com/prometheus-operator/kube-prometheus.git
				synced 2025-10-31 16:11:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			334 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			334 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| apiVersion: rbac.authorization.k8s.io/v1beta1
 | |
| kind: RoleBinding
 | |
| metadata:
 | |
|   name: custom-metrics-auth-reader
 | |
|   namespace: kube-system
 | |
| roleRef:
 | |
|   apiGroup: rbac.authorization.k8s.io
 | |
|   kind: Role
 | |
|   name: extension-apiserver-authentication-reader
 | |
| subjects:
 | |
| - kind: ServiceAccount
 | |
|   name: custom-metrics-apiserver
 | |
|   namespace: monitoring
 |