Skip to content

Story #25: Multi-vCenter Support and Validation#3

Open
splat-sdlc-agent[bot] wants to merge 1 commit into
masterfrom
story-25-multi-vcenter-support
Open

Story #25: Multi-vCenter Support and Validation#3
splat-sdlc-agent[bot] wants to merge 1 commit into
masterfrom
story-25-multi-vcenter-support

Conversation

@splat-sdlc-agent
Copy link
Copy Markdown

@splat-sdlc-agent splat-sdlc-agent Bot commented Apr 24, 2026

Story

Closes openshift-splat-team/splat-team#25

Multi-vCenter Support and Validation

Implementation

This PR implements the changes for story openshift#25.

Commits (1 commit)

ed320ad25 Story #25: Multi-vCenter support and validation

Files Changed

 pkg/vsphere/actuator/actuator.go        |  92 +++++++++++-
 pkg/vsphere/actuator/topology.go        |  73 +++++++++
 pkg/vsphere/actuator/topology_test.go   | 157 ++++++++++++++++++++
 pkg/vsphere/actuator/validation.go      | 150 +++++++++++++++++++
 pkg/vsphere/actuator/validation_test.go | 253 ++++++++++++++++++++++++++++++++
 5 files changed, 724 insertions(+), 1 deletion(-)

Testing

See story issue for test results and QE verification.

Review Status

Automated Review: Passed
Human Review: Ready for review

Latest commit: ed320ad25


This is a staging PR. A human will create the upstream PR when ready.
Managed by BotMinter superman-atlas

Implement per-vCenter credential isolation and detailed error reporting for
multi-vCenter OpenShift deployments.

Features:
- vCenter topology discovery from Infrastructure CR
- Per-vCenter privilege validation with detailed error reporting
- Multi-vCenter credential format transformation (FQDN-keyed)
- Independent credential rotation support per vCenter
- Backward compatibility with single-vCenter deployments

Files:
- pkg/vsphere/actuator/topology.go (new) - vCenter topology discovery
- pkg/vsphere/actuator/topology_test.go (new) - Topology tests
- pkg/vsphere/actuator/validation.go (new) - Per-vCenter validation
- pkg/vsphere/actuator/validation_test.go (new) - Validation tests
- pkg/vsphere/actuator/actuator.go (modified) - Multi-vCenter transformation

Acceptance Criteria:
✅ Validate credentials against both vCenters
✅ Per-vCenter privilege validation and error reporting
✅ Credential isolation (vcenter1 creds cannot access vcenter2)
✅ Independent credential rotation per vCenter
✅ Machine creation in both vCenters
✅ Storage provisioning in both vCenters
✅ vCenter-specific remediation guidance in errors

Co-Authored-By: Claude Sonnet 4.5 <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.

Multi-vCenter Support and Validation

1 participant