• Kubernetes Submit Queue's avatar
    Merge pull request #30900 from jsafrane/pvc-admission · ef271862
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Add admission controller for default storage class.
    
    The admission controller adds a default class to PVCs that do not require any
    specific class. This way, users (=PVC authors) do not need to care about
    storage classes, administrator can configure a default one and all these PVCs
    that do not care about class will get the default one.
    
    The marker of default class is annotation "volume.beta.kubernetes.io/storage-class", which must be set to "true" to work. All other values (or missing annotation) makes the class non-default.
    
    Based on @thockin's code, added tests and made it not to reject a PVC when no class is marked as default.
    . 
    @kubernetes/sig-storage
    ef271862
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api/swagger-spec Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
contrib Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
release Loading commit data...
staging/src/k8s.io/client-go Loading commit data...
test Loading commit data...
third_party Loading commit data...
vendor Loading commit data...
www Loading commit data...
.generated_docs Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIB.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DESIGN.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...