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

Use the CommonConfiguration structure for roles. #277

Merged
merged 24 commits into from
Sep 25, 2023

Conversation

razvan
Copy link
Member

@razvan razvan commented Sep 4, 2023

Description

Part of #273

Refactor the SparkApplication CRD to be more in line with other operators.

The three main roles (job, driver and executor) are now concrete RoleGroup objects under an Role named "default" that is constructed by the operator internally.

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

Reviewer

Acceptance

@razvan
Copy link
Member Author

razvan commented Sep 8, 2023

@razvan razvan marked this pull request as ready for review September 8, 2023 10:26
@razvan razvan requested a review from a team September 8, 2023 10:26
@razvan razvan self-assigned this Sep 8, 2023
@fhennig fhennig requested review from fhennig and removed request for a team September 13, 2023 11:04
@maltesander maltesander added release-note/action-required Denotes a PR that introduces potentially breaking changes that require user action. changelog/crd-change labels Sep 13, 2023
rust/crd/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@fhennig fhennig left a comment

Choose a reason for hiding this comment

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

As mentioned before, docs for the roles.rs file would be great, and some of the tests don't look right.

rust/crd/src/roles.rs Show resolved Hide resolved
rust/operator-binary/src/main.rs Show resolved Hide resolved
fhennig
fhennig previously approved these changes Sep 14, 2023
Copy link
Contributor

@fhennig fhennig left a comment

Choose a reason for hiding this comment

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

LGTM!

@razvan
Copy link
Member Author

razvan commented Sep 21, 2023

@razvan razvan requested a review from fhennig September 21, 2023 07:52
fhennig
fhennig previously approved these changes Sep 25, 2023
Copy link
Member

@adwk67 adwk67 left a comment

Choose a reason for hiding this comment

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

Just a couple of minor things.

rust/crd/src/roles.rs Outdated Show resolved Hide resolved
examples/ny-tlc-report-image.yaml Outdated Show resolved Hide resolved
examples/ny-tlc-report.yaml Outdated Show resolved Hide resolved
Co-authored-by: Andrew Kenworthy <andrew.kenworthy@stackable.de>
Copy link
Member

@adwk67 adwk67 left a comment

Choose a reason for hiding this comment

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

LGTM!

@razvan razvan added this pull request to the merge queue Sep 25, 2023
Merged via the queue into main with commit 3802141 Sep 25, 2023
30 checks passed
@bors bors bot deleted the refactor/config-overrides branch September 25, 2023 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/action-required Denotes a PR that introduces potentially breaking changes that require user action.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants