Files
lambda_studio/ctrl/seed.sh

9 lines
459 B
Bash
Executable File

#!/usr/bin/env bash
# Uploads the host's /mnt/documents tree into the in-cluster MinIO. The seed
# lives under sign_pdfs_v1/ (the original implementation kept around for the
# before/after demo) but the data it produces is shared — both sign_pdfs/ and
# sign_pdfs_v1/ read from the same bucket and prefix in the local lab.
set -euo pipefail
kubectl --context kind-eth -n eth exec -i deploy/lambda -- \
python functions/sign_pdfs_v1/seed.py /mnt/documents