astronomer / astro-cli

CLI that makes it easy to create, test and deploy Airflow DAGs to Astronomer
https://www.astronomer.io
Other
341 stars 70 forks source link

`astro deployment variable create` breaking on `=` characters #1595

Closed sunkickr closed 4 months ago

sunkickr commented 4 months ago

Describe the bug

The CLI basically truncates everything which is after "=" in the value field. for eg astro deployment variable create --deployment-id cltfhsagz003t01h5dzbutd9o AIRFLOW_CONN_TEST="kubernetes:///?__extra__=extraval" --secret This just rejects everything after = and only populates kubernetes:///?extra as the value. This works fine when the variable is created via UI

What CLI Version did you experience this bug?

latest

This CLI bug is related to which Astronomer Platform?

What Operating System is the above CLI installed on?

🪜 Steps To Reproduce

📸 Screenshots