-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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 handling some None parameters in kubernetes 23 libs #21905
Fix handling some None parameters in kubernetes 23 libs #21905
Conversation
This is the last one that failed our |
ea1fc41
to
41ef3b8
Compare
All should be fixed @jedcunningham |
41ef3b8
to
27b9929
Compare
Fixed. The tests are monstrous now :) |
58ff7e7
to
c75d04a
Compare
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.
Probably worth updating the title and description here.
Sorry for that @jedcunningham. I think I need to go to sleep. :) |
Kubernetes 23.* is more picky when it comes to values passed to Pod Generator - it requires: * imagePullPolicy * dnsPolicy * restartPolicy to be not None. We are fixing it in the way, that we simply skip setting those if they are None.
All good 🍺 |
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
c75d04a
to
4557b34
Compare
Done |
Kubernetes 23.* is more picky when it comes to values passed to Pod Generator - it requires: * imagePullPolicy * dnsPolicy * restartPolicy to be not None. We are fixing it in the way, that we simply skip setting those if they are None. (cherry picked from commit e856aba)
Kubernetes 23.* is more picky when it comes to values passed to Pod Generator - it requires: * imagePullPolicy * dnsPolicy * restartPolicy to be not None. We are fixing it in the way, that we simply skip setting those if they are None. (cherry picked from commit e856aba)
Kubernetes 23.* is more picky when it comes to values passed to Pod Generator - it requires: * imagePullPolicy * dnsPolicy * restartPolicy to be not None. We are fixing it in the way, that we simply skip setting those if they are None. (cherry picked from commit e856aba)
)" This reverts commit 24c84f0.
)" This reverts commit 24c84f0.
)" This reverts commit 24c84f0.
Kubernetes 23.* is more picky when it comes to values passed to
Pod Generator - it requires:
to be not None.
We are fixing it in the way, that we simply skip setting those
if they are None.
^ 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.