The IBM Spectrum Scale Container Storage Interface (CSI) project enables container orchestrators, such as Kubernetes and OpenShift, to manage the life-cycle of persistent storage.
Please check the type of change your PR introduces:
- [x] Bugfix
- [ ] Feature Enhancement
- [ ] Test Automation
- [ ] Code Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Community Operator listing
- [ ] Other (please describe):
## What is the current behavior?
The current functionality allows empty three char strings also. e.g. "_","a_b","b"
What is the new behavior?
The new fixes will not allow any empty chars in the prefix value. Whenever any wrong or string containing empty chars will pass, it throws an error and default(pvc) will be set as pvc prefix
How risky is this change?
[ ] Small, isolated change
[x] Medium, requires regression testing
[ ] Large, requires functional and regression testing
Pull request checklist
Pull request type
This PR is going to fix the issue Custom Volume Prefix fails for wrong values such as empty string
Please check the type of change your PR introduces: - [x] Bugfix - [ ] Feature Enhancement - [ ] Test Automation - [ ] Code Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Community Operator listing - [ ] Other (please describe): ## What is the current behavior?What is the new behavior?
How risky is this change?