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

Build helm values schemas with kubernetes 1.29 resources #38460

Merged
merged 9 commits into from
Apr 11, 2024

Conversation

mathiaHT
Copy link
Contributor

@mathiaHT mathiaHT commented Mar 25, 2024

closes: #38453

Build helm chart/values.schemas.json definitions using kubernetes 1.29.

The initial objective was to use the kubernetes sidecar feature: https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/


Copy link

boring-cyborg bot commented Mar 25, 2024

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 Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
Here are some useful points:

  • Pay attention to the quality of your code (ruff, mypy and type annotations). Our pre-commits will help you with that.
  • In case of a new feature add useful documentation (in docstrings or in docs/ directory). Adding a new operator? Check this short guide Consider adding an example DAG that shows how users should use it.
  • Consider using Breeze environment for testing locally, it's a heavy docker but it ships with a working Airflow and a lot of integrations.
  • Be patient and persistent. It might take some time to get a review or get the final approval from Committers.
  • Please follow ASF Code of Conduct for all communication including (but not limited to) comments on Pull Requests, Mailing list and Slack.
  • Be sure to read the Airflow Coding style.
  • Always keep your Pull Requests rebased, otherwise your build might fail due to changes not related to your commits.
    Apache Airflow is a community-driven project and together we are making it better 🚀.
    In case of doubts contact the developers at:
    Mailing List: [email protected]
    Slack: https://s.apache.org/airflow-slack

@mathiaHT mathiaHT closed this Mar 25, 2024
@mathiaHT mathiaHT reopened this Mar 25, 2024
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

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

@potiuk
Copy link
Member

potiuk commented Apr 2, 2024

In the meantime we had some conflicts so if you could rebase and fix them @mathiaHT - that woudl give chance for the others to take a look and merge it.

Copy link
Member

@hussein-awala hussein-awala left a comment

Choose a reason for hiding this comment

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

Most of the updated resources were deprecated in 1.26+.

In general, I wonder if we should use the max-supported version or the min-supported version to generate the schema. For this PR, it looks like all updated versions are already present in 1.26, but not sure if it will be always the case.

LGTM

Mathia Haure-Touze and others added 6 commits April 4, 2024 12:31
… added display name for dag / task (v2) (apache#38446)

* Add display name in DAGs and tasks

Co-authored-by: Tzu-ping Chung <[email protected]>
Co-authored-by: Aleksandr Shelukheev <[email protected]>

* Fix frontend issues

* Fix pytests

* Add DAG display tool tips

* Implement national language char display example oon two DAGs

* Review nit from other PR

* Fix WWW pytest on HTML code

* Review feedback, make task_display_name a property, not a field in mapped operator

* Review feedback, rename internal fields

* Small nit, optimize sorting on DAG home page with display name

* Review feedback

* Fix pytests in API plus review feedback on API

* Review feedback, extend schema, update apispecs and fix breadcrumb navigation

* nit, update page titles as well

* Fix pytests for extended API model

* Ensure mapped operator also provides a display string

* Ensure display field is only serialized if different from task id

* fix pytest for API

* Review feedback from TP

* Move labels down to base and mapped operator

* Move labels up to abstract operator

* Only one decorator is needed

---------

Co-authored-by: Vincent Gao <[email protected]>
Co-authored-by: Tzu-ping Chung <[email protected]>
Co-authored-by: Aleksandr Shelukheev <[email protected]>
ferruzzi and others added 2 commits April 4, 2024 12:36
…8474)

This field will be used by AIP-61 code to store and retrieve which
executor a task is meant to run on.

---------

Co-authored-by: Niko Oliveira <[email protected]>
@potiuk potiuk merged commit c1da5bb into apache:main Apr 11, 2024
55 checks passed
Copy link

boring-cyborg bot commented Apr 11, 2024

Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions.

@utkarsharma2 utkarsharma2 added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dev-tools area:helm-chart Airflow Helm Chart changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) kind:documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

helm values schemas are built with kubernetes 1.22 resources
6 participants