-
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
Chart: Use stable API versions where available #17211
Chart: Use stable API versions where available #17211
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
d1b4d14
to
f9f52c2
Compare
CC: @jedcunningham @kaxil WDYT ? |
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease. |
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.
Overall LGTM, thanks @cablespaghetti! Can you add test coverage in chart/tests
as well though?
Sorry for the delay in this. I will get to this as soon as I can. I was having some trouble getting a working dev environment on my M1 Mac initially but I'm sure it won't be that hard to resolve. |
New versions of Ingress controllers (eg: Is there an ETA for this PR? |
As soon as @cablespaghetti adds the tests :) |
Really sorry this has taken so long, I have been super busy both at work and outside. I will put in some time to try and get this done tomorrow. |
f9f52c2
to
7b9596d
Compare
Ok hopefully I've done enough now. Also upgraded the default it tests against to 1.22. Rerunning everything locally to check this hasn't broken anything at the moment. edit: They passed 👍 |
@@ -120,24 +129,24 @@ ingress: | |||
annotations: {} | |||
|
|||
# The path for the flower Ingress | |||
path: "" | |||
path: "/" |
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.
Both path and pathType are mandatory in the stable api. I don't think setting it by default is likely break many people's config but thought I'd point it out.
I appreciate I can't complain as I took a very long time to complete the work on this PR. However just a reminder to @kaxil and @jedcunningham that this should be ready to go now. 👍 |
Signed-off-by: Sam Weston <sam.weston@tails.com>
Signed-off-by: Sam Weston <sam.weston@tails.com>
Signed-off-by: Sam Weston <sam.weston@tails.com>
Signed-off-by: Sam Weston <sam.weston@tails.com>
Signed-off-by: Sam Weston <sam.weston@tails.com>
Signed-off-by: Sam Weston <sam.weston@tails.com>
Signed-off-by: Sam Weston <sam.weston@tails.com>
Signed-off-by: Sam Weston <sam.weston@tails.com>
7d38afa
to
1e799f3
Compare
Ok it is quite rightly erroring since I changed the default for Ingress path from "" to "/". I'll change that in the schema and update the UPDATING.rst file. The other error seems to be about an unrelated SQLAlchemy deprecation though so I'll ignore that rather than make an unrelated change in this PR. |
Signed-off-by: Sam Weston <sam.weston@tails.com>
Signed-off-by: Sam Weston <sam.weston@tails.com>
I don't understand the test failure we've currently got. 😞 |
Most likely a flaky failure, let's try it again. |
Awesome work, congrats on your first merged pull request! |
Thanks @cablespaghetti! Congrats on your first commit. |
Partial Commit Extracted From: https://github.com/apache/airflow
Fixes #17188
Uses stable versions of Ingress, PodDisruptionBudget and CronJob APIs where available. There is no change for users of Kubernetes versions older than 1.19. Also tidies up some inconsistencies between the two Ingresses and removes variables on the flower Ingress which didn't do anything.