vsphere: add support for per-component vCenter credentials#10313
vsphere: add support for per-component vCenter credentials#10313rvanderp3 wants to merge 1 commit intoopenshift:mainfrom
Conversation
Adds ComponentCredentials field to VCenter type to allow specifying separate credentials for each OpenShift component (machine-api, CSI driver, cloud controller, diagnostics). This enables least-privilege security by allowing different vCenter accounts with minimal permissions for each component. The installer can now: - Load component credentials from ~/.vsphere/credentials file (INI format) - Fall back to main VCenter username/password if not specified - Generate separate credential secrets for each component - Validate credential file permissions (must be 0600) Components affected: - machine-api-operator - vSphere CSI driver - Cloud controller manager - vsphere-problem-detector
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test ? |
|
@rvanderp3: The following commands are available to trigger required jobs: The following commands are available to trigger optional jobs: Use DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Adds ComponentCredentials field to VCenter type to allow specifying separate credentials for each OpenShift component (machine-api, CSI driver, cloud controller, diagnostics). This enables least-privilege security by allowing different vCenter accounts with minimal permissions for each component.
The installer can now:
Components affected: