k3s/plugin/pkg
Kubernetes Submit Queue ef2718620c Merge pull request #30900 from jsafrane/pvc-admission
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
2016-08-24 03:32:46 -07:00
..
admission Merge pull request #30900 from jsafrane/pvc-admission 2016-08-24 03:32:46 -07:00
auth x509 authenticator: get groups from subject's organization field 2016-08-10 12:32:28 -07:00
client/auth oidc auth provider: don't trim issuer URL 2016-08-18 16:37:50 -07:00
scheduler Don't validate selector that is already validated 2016-08-22 09:39:32 +02:00
webhook Func note not consistent with real fun name 2016-07-16 10:25:01 +08:00