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

Fix issue with mounting volumes from secrets #10366

Merged
merged 3 commits into from
Aug 18, 2020

Conversation

kaxil
Copy link
Member

@kaxil kaxil commented Aug 17, 2020

closes #10362

Previously, we were using the "name" variable to merge or extend
items, however this was problematic in volumes generated by secrets
as the generated names would not collide leading to duplicate values

(cherry picked from commit 635b04e9331f46cfb8b1810485681e8dc4581f38)


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

Previously, we were using the "name" variable to merge or extend
items, however this was problematic in volumes generated by secrets
as the generated names would not collide leading to duplicate values

(cherry picked from commit 635b04e9331f46cfb8b1810485681e8dc4581f38)
@dimberman dimberman merged commit c44fddf into apache:v1-10-test Aug 18, 2020
@dimberman dimberman deleted the k8s-regression-rc1 branch August 18, 2020 15:30
@kaxil kaxil added provider:cncf-kubernetes Kubernetes provider related issues and removed area:k8s labels Nov 18, 2020
cfei18 pushed a commit to cfei18/incubator-airflow that referenced this pull request Mar 5, 2021
* Fix issue with mounting volumes from secrets

Previously, we were using the "name" variable to merge or extend
items, however this was problematic in volumes generated by secrets
as the generated names would not collide leading to duplicate values

(cherry picked from commit 635b04e9331f46cfb8b1810485681e8dc4581f38)

* fix tests

* Simplified workflow. Secrets will no longer be converted to secret objects

Co-authored-by: Daniel Imberman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dev-tools provider:cncf-kubernetes Kubernetes provider related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Airflow 1.10.12rc1, KubernetesPodOperator broken with secret & deploy_type "volume"
2 participants