mirror of
				https://github.com/prometheus-operator/kube-prometheus.git
				synced 2025-10-30 23:51:01 +01:00 
			
		
		
		
	Merge pull request #1647 from wulfthimm/wth/fix-node-exp
Removed CAP_ from node-exporter daemonset
This commit is contained in:
		
						commit
						3f1323dae8
					
				| @ -185,7 +185,7 @@ function(params) { | |||||||
|       securityContext: { |       securityContext: { | ||||||
|         allowPrivilegeEscalation: false, |         allowPrivilegeEscalation: false, | ||||||
|         readOnlyRootFilesystem: true, |         readOnlyRootFilesystem: true, | ||||||
|         capabilities: { drop: ['ALL'], add: ['CAP_SYS_TIME'] }, |         capabilities: { drop: ['ALL'], add: ['SYS_TIME'] }, | ||||||
|       }, |       }, | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -48,7 +48,7 @@ spec: | |||||||
|           allowPrivilegeEscalation: false |           allowPrivilegeEscalation: false | ||||||
|           capabilities: |           capabilities: | ||||||
|             add: |             add: | ||||||
|             - CAP_SYS_TIME |             - SYS_TIME | ||||||
|             drop: |             drop: | ||||||
|             - ALL |             - ALL | ||||||
|           readOnlyRootFilesystem: true |           readOnlyRootFilesystem: true | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user