volumes: use emptyDir for tmp dir volume (#2713)
- don't use a persistent volume for /tmp, instead use a temporary emptyDir - use volume to avoid permission issues with default /tmp dir - follow-up to #2623
This commit is contained in:
		
							parent
							
								
									74c72ce551
								
							
						
					
					
						commit
						841c45fe59
					
				| @ -74,6 +74,8 @@ spec: | |||||||
|     {% else %} |     {% else %} | ||||||
|       emptyDir: {} |       emptyDir: {} | ||||||
|     {% endif %} |     {% endif %} | ||||||
|  |     - name: tmpdir | ||||||
|  |       emptyDir: {} | ||||||
|     {% if proxy_id %} |     {% if proxy_id %} | ||||||
|     - name: proxies |     - name: proxies | ||||||
|       secret: |       secret: | ||||||
| @ -189,9 +191,8 @@ spec: | |||||||
|         - name: crawl-data |         - name: crawl-data | ||||||
|           mountPath: /crawls |           mountPath: /crawls | ||||||
| 
 | 
 | ||||||
|         - name: crawl-data |         - name: tmpdir | ||||||
|           mountPath: /tmp |           mountPath: /tmp | ||||||
|           subPath: tmp |  | ||||||
| 
 | 
 | ||||||
|       envFrom: |       envFrom: | ||||||
|         - configMapRef: |         - configMapRef: | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user