Skip to content

refactor: extract dereference and validate steps into controller modules#783

Draft
adwk67 wants to merge 5 commits into
mainfrom
refactor/reconcile-dereference-validate
Draft

refactor: extract dereference and validate steps into controller modules#783
adwk67 wants to merge 5 commits into
mainfrom
refactor/reconcile-dereference-validate

Conversation

@adwk67
Copy link
Copy Markdown
Member

@adwk67 adwk67 commented May 18, 2026

Summary

  • Extract the first two pipeline stages (dereference and validate) from the monolithic hdfs_controller.rs into controller/dereference.rs and controller/validate.rs
  • Merge dereferenced fields (hdfs_opa_config) into ValidatedCluster, matching the pattern established in hive (#707) and hbase (#757)
  • Replace image_base_name / pkg_version parameters with compile-time constants inside validate_cluster()

Test plan

  • cargo clippy --all-targets — zero warnings
  • cargo test — all 63 tests pass
  • kuttl smoke tests

🤖 Generated with Claude Code

adwk67 and others added 2 commits May 18, 2026 17:24
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant