diff --git a/healdata.org/manifest.json b/healdata.org/manifest.json index a43a448ced..7e345d5c79 100644 --- a/healdata.org/manifest.json +++ b/healdata.org/manifest.json @@ -44,6 +44,7 @@ { "name": "batch-export", "action": "batch-export", + "serviceAccountName": "batch-export-sa", "activeDeadlineSeconds": 600, "container": { "name": "job-task", @@ -61,27 +62,20 @@ "key": "hostname" } } - } - ], - "volumeMounts": [ + }, { - "name": "batch-export-creds-volume", - "readOnly": true, - "mountPath": "/batch-export-creds.json", - "subPath": "config.json" + "name": "BUCKET" + "valueFrom": { + "configMapKeyRef": { + "name": "batch-export-g3auto", + "key": "bucket_name" + } + } } ], "cpu-limit": "1", "memory-limit": "1Gi" }, - "volumes": [ - { - "name": "batch-export-creds-volume", - "secret": { - "secretName": "batch-export-g3auto" - } - } - ], "restart_policy": "Never" } ], @@ -119,4 +113,4 @@ "argo": { "argo_server_service_url": "http://argo-argo-workflows-server.argo.svc.cluster.local:2746" } -} \ No newline at end of file +}