• Kubernetes Submit Queue's avatar
    Merge pull request #47987 from wongma7/reclaimpolicy · 9c8f74e4
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 49869, 47987, 50211, 50804, 50583)
    
    Add ReclaimPolicy field to StorageClass
    
    fix https://github.com/kubernetes/kubernetes/issues/38192, enough people want this imo so going ahead and adding it according to initial suggested design
    
    some considerations:
    * No Recycle allowed, Retain (& Delete) only.
    * Do we need to gate the field.
    * E2E test where a Retain PV is dynamically provisioned is TODO if we agree we want this & this is the way to do it.
    * Need a feature repo issue to track docs and stuff for 1.8
    
    **Release note**:
    
    ```release-note
    StorageClass has a new field to configure reclaim policy of dynamically provisioned PVs.
    ```
    9c8f74e4
Name
Last commit
Last update
..
src/k8s.io Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
godeps-json-updater.go Loading commit data...
prime-apimachinery.sh Loading commit data...