mirror of
				https://github.com/prometheus-operator/kube-prometheus.git
				synced 2025-10-31 16:11:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			318 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			318 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| apiVersion: rbac.authorization.k8s.io/v1beta1
 | |
| kind: ClusterRoleBinding
 | |
| metadata:
 | |
|   name: hpa-controller-custom-metrics
 | |
| roleRef:
 | |
|   apiGroup: rbac.authorization.k8s.io
 | |
|   kind: ClusterRole
 | |
|   name: custom-metrics-server-resources
 | |
| subjects:
 | |
| - kind: ServiceAccount
 | |
|   name: horizontal-pod-autoscaler
 | |
|   namespace: kube-system
 |