@@ -25,46 +25,62 @@ helm install exporter ./charts/pgstac-geoparquet-exporter \
2525 --create-namespace \
2626 --set database.existingSecret=pgstac-db \
2727 --set storage.existingSecret=s3-creds \
28- --set storage.outputPath=s3://my-bucket/exports
28+ --set storage.outputPath=s3://my-bucket/exports \
29+ --set stacApiUrl=https://example.com/stac/v1
2930```
3031
3132## Configuration
3233
3334Edit ` values.yaml ` or create a custom values file:
3435
3536``` yaml
37+ # STAC API URL (required for link injection)
38+ stacApiUrl : " https://example.com/stac/v1"
39+
3640# Collections to export
3741exportConfig :
42+ # Export all collections from database (ignores collections list below)
43+ exportAll : false
44+
45+ # Specify individual collections (or leave empty and set exportAll: true)
3846 collections :
3947 - name : sentinel-2
4048 partition_by : year
4149 start_year : 2015
4250 - name : landsat-8
4351 partition_by : null # Single file
4452
45- # Schedules
46- completeExport :
47- schedule : " 0 2 1 * *" # Monthly
48- incrementalExport :
49- schedule : " 0 3 * * *" # Daily
50-
51- # Resources
52- incrementalExport :
53- resources :
54- requests :
55- memory : " 1Gi"
56- cpu : " 250m"
53+ # Job schedules and resources
54+ jobs :
55+ complete :
56+ schedule : " 0 2 1 * *" # Monthly
57+ resources :
58+ requests :
59+ memory : " 2Gi"
60+ cpu : " 500m"
61+
62+ incremental :
63+ schedule : " 0 3 * * *" # Daily
64+ resources :
65+ requests :
66+ memory : " 1Gi"
67+ cpu : " 250m"
5768` ` `
5869
5970## Key Parameters
6071
6172| Parameter | Description | Default |
6273|-----------|-------------|---------|
63- | ` database.existingSecret` | DB credentials secret | `default-pguser-eoapi` |
64- | `storage.outputPath` | Output path (s3:// or local) | `s3://eoapi-geoparquet/geoparquet` |
65- | `storage.existingSecret` | S3 credentials secret | `data-access` |
66- | `completeExport.schedule` | Complete export cron | `"0 2 1 * *"` |
67- | `incrementalExport.schedule` | Incremental export cron | `"0 3 * * *"` |
74+ | ` stacApiUrl` | **Required**. STAC API URL for link injection | `""` |
75+ | `database.existingSecret` | DB credentials secret name | `default-pguser-eoapi` |
76+ | `storage.outputPath` | Output path (s3:// or local) | `s3://some-bucket/geoparquet` |
77+ | `storage.existingSecret` | S3 credentials secret name | `""` |
78+ | `storage.endpoint` | Custom S3 endpoint URL | `""` |
79+ | `storage.region` | AWS region | `""` |
80+ | `jobs.complete.schedule` | Complete export cron schedule | `"0 2 1 * *"` |
81+ | `jobs.incremental.schedule` | Incremental export cron schedule | `"0 3 * * *"` |
82+ | `exportConfig.exportAll` | Export all collections from database | `false` |
83+ | `exportConfig.collections[].partition_by` | Partitioning : ` null` , `year`, `month` | `year` |
6884
6985# # Usage
7086
@@ -83,3 +99,16 @@ helm upgrade exporter ./charts/pgstac-geoparquet-exporter -n data-access -f valu
8399
84100- **Complete**: Full export with optional yearly/monthly partitioning
85101- **Incremental**: Only changed items since last run (state in `{OUTPUT_PATH}/.last_sync`)
102+
103+ # ## Export All Collections
104+
105+ Set `exportConfig.exportAll : true` to automatically export all collections from the pgSTAC database instead of manually specifying them. Useful when collections are added dynamically.
106+
107+ # # Advanced Options
108+
109+ Additional configuration available in `values.yaml` :
110+ - ` exportConfig.settings` - chunk_size, statement_timeout
111+ - ` jobs` - successfulJobsHistoryLimit, failedJobsHistoryLimit, concurrencyPolicy
112+ - ` extraEnv` , `extraVolumes`, `extraVolumeMounts` - Additional resources
113+ - ` nodeSelector` , `tolerations`, `affinity` - Pod scheduling
114+ - ` podSecurityContext` , `securityContext` - Security settings
0 commit comments