- Add default vs custom (s3) storage - K8S: All storages correspond to secrets - K8S: Default storages inited via helm - K8S: Custom storage results in custom secret (per archive) - K8S: Don't add secret per crawl config - API for changing storage per archive - Docker: default storage just hard-coded from env vars (only one for now) - Validate custom storage via aiobotocore before confirming - Data Model: remove usage from users - Data Model: support adding multiple files per crawl for parallel crawls - Data Model: track completions for parallel crawls - Data Model: initial support for tags per crawl, add collection as 'coll' tag README fixes
		
			
				
	
	
		
			67 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| {{- if .Values.minio_local }}
 | |
| 
 | |
| ---
 | |
| apiVersion: apps/v1
 | |
| kind: Deployment
 | |
| metadata:
 | |
|   name: local-minio
 | |
|   namespace: {{ .Release.Namespace }}
 | |
| spec:
 | |
|   selector:
 | |
|     matchLabels:
 | |
|       app: local-minio
 | |
| 
 | |
|   replicas: 1
 | |
|   template:
 | |
|     metadata:
 | |
|       labels:
 | |
|         app: local-minio
 | |
| 
 | |
|     spec:
 | |
|       volumes:
 | |
|         - name: data-storage
 | |
|           hostPath:
 | |
|             path: /tmp/browsertrix-minio-data
 | |
|             type: DirectoryOrCreate
 | |
| 
 | |
|       containers:
 | |
|         - name: minio
 | |
|           image: {{ .Values.minio_image }}
 | |
|           imagePullPolicy: {{ .Values.minio_pull_policy }}
 | |
|           args: ["server", "/data", "--console-address", ":9001"]
 | |
|           envFrom:
 | |
|             - secretRef:
 | |
|                 name: auth-secrets
 | |
| 
 | |
|           volumeMounts:
 | |
|             - name: data-storage
 | |
|               mountPath: /data
 | |
| 
 | |
| ---
 | |
| apiVersion: v1
 | |
| kind: Service
 | |
| 
 | |
| metadata:
 | |
|   namespace: {{ .Release.Namespace }}
 | |
|   name: local-minio
 | |
|   labels:
 | |
|     app: local-minio
 | |
| 
 | |
| spec:
 | |
|   type: NodePort
 | |
|   selector:
 | |
|     app: local-minio
 | |
| 
 | |
|   ports:
 | |
|     - protocol: TCP
 | |
|       port: 9000
 | |
|       name: minio
 | |
| 
 | |
|     - protocol: TCP
 | |
|       port: 9001
 | |
|       name: minio-console
 | |
| 
 | |
| {{- end }}
 | |
| 
 | |
| 
 |