Replies: 3 comments 13 replies
-
No idea about Azure, but the page you linked above contains all the parameters that you can set and Airflow has a helper that allows you to generate URI based on connection parameters + extras: If in doubt - look at the code of the Hook and figure out the parameters it needs. |
Beta Was this translation helpful? Give feedback.
-
Ok so I did check out the airflow helper for generating URI's, and got the following one:
Now I need to attach this connection to the airflow helm chart - according to the docs (https://airflow.apache.org/docs/helm-chart/stable/adding-connections-and-variables.html), you need to pass it through the secret parameter in the values.yaml of the chart.
But when I pass it, the connection does not appear in the UI nor in the postgres connection table. Any ideas why? |
Beta Was this translation helpful? Give feedback.
-
If anyone's stumbles upon this issue when trying to make it work, here are my notes.
If you want to configure it via Environment Variable, I recommend this format:
bare minimum version:
I recommend setting it up as
Finally, the configuration itself:
A few notes:
format, but for version 3.0.6 do Regarding Thanks to everyone who participated in this discussion and other discussion related to this topic: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
wonder if anyone would be able to point me to the format the WASB connection env variable should have if I want to use a blob connection string to authenticate? In the example at https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/stable/connections/wasb.html, the example connection string is set like this:
export AIRFLOW_CONN_WASB_DEFAULT='wasb://blob%20username:blob%[email protected]?tenant_id=tenant+id'
I can set this enviroment variable using the helm chart - but what exact format would this string have if I want to use the azure blob connection string as the method of authentication instead of username, password and tennantId?
Beta Was this translation helpful? Give feedback.
All reactions