kubernetes/pkg/apis/storage/validation
Patrick Ohly b60f08e24b storage: validate CSIDriver.Spec.VolumeLifecycleModes
This ensures that users get a good error message early on when trying
to do something that isn't okay:

  $ kubectl create -f csi-hostpath-driverinfo.yaml
  The CSIDriver "hostpath.csi.k8s.io" is invalid: spec.volumeLifecycleModes: Unsupported value: "foobar": supported values: "persistent", "ephemeral"
2019-08-13 23:12:48 +02:00
..
BUILD Auto-generated code for volume limits API 2019-06-25 16:30:54 +02:00
validation_test.go storage: validate CSIDriver.Spec.VolumeLifecycleModes 2019-08-13 23:12:48 +02:00
validation.go storage: validate CSIDriver.Spec.VolumeLifecycleModes 2019-08-13 23:12:48 +02:00