-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ssh tunneling for normalization #6396
Conversation
/test connector=bases/base-normalization
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be nice to at least add it to normalization unit_test TestTransformConfig
for the generated file for ssh too
/test connector=bases/base-normalization
|
/publish connector=bases/base-normalization
|
Looks like same problem as this on /publish command but the new version is up on docker hub. Confirmed the new image has these changes in so going to merge this. |
What
New lines as part of OAuth were added into
/airbyte-integrations/bases/base-normalization/entrypoint.sh
that remove the config file so we don't expose secrets to non-airbyte docker images during custom dbt transformations.As a side-effect this broke ssh tunnelling in normalisation because it relied on using the config file to get relevant parameters to create the tunnel.
How
Creating a config
ssh.json
specific for ssh tunnelling in normalization'stransform.py
and using that instead to get parameters for tunnel. This only contains necessary params for tunnelling and no OAuth secrets.Recommended reading order
transform.py
sshtunneling.sh
others