Skip to content

refactor: Introduce role-builder - #833

Open
adwk67 wants to merge 9 commits into
refactor/flatten-config-mapsfrom
refactor/role-builder
Open

adwk67 wants to merge 9 commits into
refactor/flatten-config-mapsfrom
refactor/role-builder

Conversation

@adwk67

@adwk67 adwk67 commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Description

Builds on #830

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

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

@adwk67 adwk67 self-assigned this Sep 17, 2026
@siegfriedweber
siegfriedweber self-requested a review September 18, 2026 10:57
@adwk67 adwk67 changed the title refactor: introduce role-builder refactor: Introduce role-builder Sep 22, 2026
@siegfriedweber
siegfriedweber added this pull request to stack #837 September 29, 2026 07:11

@siegfriedweber siegfriedweber left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

An entry in the changelog would be nice.

Comment thread rust/operator-binary/src/controller/build/resource/statefulset.rs Outdated
};

use super::{
Error, ServiceSnafu, container::ContainerConfig, properties::product_logging, resource,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why does this module import Error instead of defining its own enum?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think that happened when the role group builder was moved and the errors were left where they were. In 61f3f5b I've moved them to role_group and added a helper so the builder loops are a little simpler.

Comment thread rust/operator-binary/src/controller/build/container.rs
Comment thread rust/operator-binary/src/controller/build/mod.rs Outdated
@adwk67
adwk67 requested a review from siegfriedweber October 5, 2026 15:08
@adwk67
adwk67 marked this pull request as ready for review October 5, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants