mirror of
				https://github.com/prometheus-operator/kube-prometheus.git
				synced 2025-10-31 16:11:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			368 B
		
	
	
	
		
			Jsonnet
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			368 B
		
	
	
	
		
			Jsonnet
		
	
	
	
	
	
| {
 | |
|   _config+:: {
 | |
|     tolerations+:: [
 | |
|       {
 | |
|         key: 'key1',
 | |
|         operator: 'Equal',
 | |
|         value: 'value1',
 | |
|         effect: 'NoSchedule',
 | |
|       },
 | |
|       {
 | |
|         key: 'key2',
 | |
|         operator: 'Exists',
 | |
|       },
 | |
|     ],
 | |
|   },
 | |
| 
 | |
|   prometheus+: {
 | |
|     prometheus+: {
 | |
|       spec+: {
 | |
|         tolerations: [t for t in $._config.tolerations],
 | |
|       },
 | |
|     },
 | |
|   },
 | |
| }
 |