Skip to content
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

[#504] Airflow DAGs unable to read credentials from k8s secret #515

Merged
merged 5 commits into from
Oct 23, 2018

Conversation

leshchanka-aliaksandr
Copy link
Contributor

This PR close #504

Copy link
Member

@aliaksandr-d aliaksandr-d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@aliaksandr-d aliaksandr-d removed the WIP label Oct 13, 2018
@aliaksandr-d
Copy link
Member

bot, test all

@legion-bot
Copy link
Collaborator

Can one of the admins verify this patch?

1 similar comment
@legion-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@aliaksandr-d aliaksandr-d added the bug [Fixed] for any bug fixes. label Oct 13, 2018
@legion-bot
Copy link
Collaborator

Build status: SUCCESS

@aliaksandr-d aliaksandr-d requested a review from dsuslov October 14, 2018 14:06
k8s_namespace=os.environ['NAMESPACE']
)
return Connection(**config_map.data)
connection_data = yaml.load(config_map.data['data'])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you store all connections in key data. But I guess, it will be better to store each connection info in appropriate named key? And values of each info will be encoded via yaml

Copy link

@dsuslov dsuslov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@aliaksandr-d aliaksandr-d force-pushed the feat/504-airflow-cred-in-secret-file branch from ea78e68 to 2e39b5f Compare October 16, 2018 17:56
@aliaksandr-d
Copy link
Member

bot, test all

@legion-bot
Copy link
Collaborator

Build status: FAILURE

@aliaksandr-d
Copy link
Member

bot, test all

@legion-bot
Copy link
Collaborator

Build status: SUCCESS

@aliaksandr-d
Copy link
Member

bot, test all

@aliaksandr-d aliaksandr-d force-pushed the feat/504-airflow-cred-in-secret-file branch 2 times, most recently from 06bc105 to b4621d9 Compare October 19, 2018 19:36
@aliaksandr-d
Copy link
Member

bot, test app

@legion-bot
Copy link
Collaborator

Build status: FAILURE

@aliaksandr-d
Copy link
Member

bot, test app

@legion-bot
Copy link
Collaborator

Build status: FAILURE

@aliaksandr-d aliaksandr-d force-pushed the feat/504-airflow-cred-in-secret-file branch from b4621d9 to b38ebf3 Compare October 23, 2018 10:13
@aliaksandr-d
Copy link
Member

bot, test app

@legion-bot
Copy link
Collaborator

Build status: SUCCESS

@dsuslov dsuslov merged commit b737f4b into develop Oct 23, 2018
@kirillmakhonin kirillmakhonin deleted the feat/504-airflow-cred-in-secret-file branch October 23, 2018 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [Fixed] for any bug fixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Airflow DAGs unable to read credentials from k8s secret
6 participants