kestra-io / kestra

:zap: Workflow Automation Platform. Orchestrate & Schedule code in any language, run anywhere, 500+ plugins. Alternative to Zapier, Rundeck, Camunda, Airflow...
https://kestra.io
Apache License 2.0
13.68k stars 1.18k forks source link

Endpoint to delete namespace_file is not working #6118

Open aballiet opened 4 days ago

aballiet commented 4 days ago

Describe the issue

To reproduce:

Here is a short loom video showcasing the issue: https://www.loom.com/share/dc3f26d764e04f36873721af02580102

The endpoint http://localhost:8080/api/v1/namespaces/prod.automation/files?path=my_file.py seems not responding.

Current fix is to add leading / in the path like : http://localhost:8080/api/v1/namespaces/prod.automation/files?path=/my_file.py.

In the TF resource it's hacky to define it as "/my_name"

Environment

japerry911 commented 4 days ago

+1

anna-geller commented 3 days ago

thx for the issue, seems related to https://github.com/kestra-io/terraform-provider-kestra/issues/131

for transparency, we weren't able to look into this in 0.20 so might be postponed to a bugfix release

anna-geller commented 3 days ago

internal issue which is also related https://github.com/kestra-io/cloud/issues/20