Skip to content

Story #21: Storage (CSI Driver) Component Credential Integration#1

Open
splat-sdlc-agent[bot] wants to merge 2 commits into
mainfrom
story-21-storage-credentials
Open

Story #21: Storage (CSI Driver) Component Credential Integration#1
splat-sdlc-agent[bot] wants to merge 2 commits into
mainfrom
story-21-storage-credentials

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#21

Storage (CSI Driver) Component Credential Integration

Implementation

This PR implements component credential integration for the CSI storage driver for story openshift#21.

See story issue for full implementation details, test results, and QE verification.


Staging PR - managed by BotMinter superman-atlas

Implement vSphere CSI Driver integration with component-specific credentials
to support reading vsphere-storage-creds from openshift-cluster-csi-drivers
namespace.

Implementation:
- Credential reader module (credentials.go) with FQDN-based lookup
- Privilege validator module (privileges.go) with 11 storage privileges
- Comprehensive test coverage (7 test files)

Storage privileges defined:
- Datastore.AllocateSpace, FileManagement, Browse
- System.Anonymous, Read, View
- VirtualMachine.Config.AddExistingDisk, AddNewDisk, RemoveDisk
- StorageProfile.View
- StoragePod.Config

Features:
- Component credential reading from openshift-cluster-csi-drivers namespace
- Fallback to shared credentials when component credentials not found
- Multi-vCenter support with FQDN-keyed credentials
- Privilege validation before storage operations
- Graceful credential rotation support
- Detailed error reporting

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Minty <minty@botminter.dev>
@rvanderp3 rvanderp3 force-pushed the story-21-storage-credentials branch from eacd8ab to 2d3d935 Compare May 1, 2026 16:01
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.

Storage (CSI Driver) Component Credential Integration

1 participant