q-m / scrapyd-k8s

Scrapyd on container infrastructure
MIT License
12 stars 7 forks source link

Test if secret and configmap are picked up #25

Open wvengen opened 8 months ago

wvengen commented 8 months ago

After PR #21, test if environment variables defined in the secret and configmap are picked up on Kubernetes.

The example spider has already been adapted with the static spider, where it outputs data depending on spider settings and the environment. You could look at the scraped output (currently in the logs, but might also redirect to a file with spider arguments). Also needed for #26.