Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will the pv name be customizable? #166

Open
zjuliuf opened this issue Apr 20, 2024 · 1 comment
Open

Will the pv name be customizable? #166

zjuliuf opened this issue Apr 20, 2024 · 1 comment

Comments

@zjuliuf
Copy link

zjuliuf commented Apr 20, 2024

The pv name consists of prefix 'pvc-' and UID of the pending pvc currently. Will the pv name be customizable?

// getProvisionedVolumeNameForClaim returns PV.Name for the provisioned volume.
// The name must be unique.
func (ctrl *ProvisionController) getProvisionedVolumeNameForClaim(claim *v1.PersistentVolumeClaim) string {
return "pvc-" + string(claim.UID)
}

@zjuliuf
Copy link
Author

zjuliuf commented Apr 20, 2024

Looking forward to getting your reply. Thanks a lot! @gnufied @mortent @Atoms @pohly

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

No branches or pull requests

1 participant