Jarek Potiuk
Jarek Potiuk
Hard to say - but - can you propose the customer to delete and recreate the. connection
This is the way how env vars are passed - there is no way you can add secrets to env vars before - because they are evaluated in two different...
Also we just merged https://github.com/apache/airflow/pull/40519 that addresses that by explicitly mentioning in appropriate places that env variables are bad way of passing secrets.
> I am not passing the value of the secret directly as an env var, I am passing through k8s secret, deploying as env_var. I stull do not understand. If...
> I can do the same in the ssh hook and return the existing self.client. @potiuk Let me know if this is what you're referring to. Yes.
Might be a race condition, yes.
> @potiuk Leaving a reminder here that this PR is ready for review. Leaving a reminder that tests are failing.
Nope. Seems they are still failing
> P.S. I was not sure if I needed to open a separate PR for the fix of TestGetTaskInstancesBatch This is fine.