mirror of
				https://github.com/prometheus-operator/kube-prometheus.git
				synced 2025-10-30 07:31:19 +01:00 
			
		
		
		
	
						commit
						2c1fc1cc11
					
				| @ -214,7 +214,7 @@ local update = { | |||||||
|   }, |   }, | ||||||
| }; | }; | ||||||
| ``` | ``` | ||||||
| Using the example from above about adding in pre-rendered rules, the new local vaiables can be added in as follows: | Using the example from above about adding in pre-rendered rules, the new local variables can be added in as follows: | ||||||
| ```jsonnet | ```jsonnet | ||||||
| local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + filter + update + { | local kp = (import 'kube-prometheus/kube-prometheus.libsonnet') + filter + update + { | ||||||
|     prometheusAlerts+:: (import 'existingrule.json'), |     prometheusAlerts+:: (import 'existingrule.json'), | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user