kubernetes/pkg/registry/storage/csidriver
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
..
storage Propagate error from NewREST 2019-08-12 13:55:35 -07:00
BUILD storage: generated files for CSIDriver.Spec.VolumeLifecycleModes 2019-08-13 23:11:42 +02:00
doc.go
strategy_test.go storage: validate CSIDriver.Spec.VolumeLifecycleModes 2019-08-13 23:12:48 +02:00
strategy.go storage: introduce CSIDriver.Spec.VolumeLifecycleModes 2019-08-13 23:11:36 +02:00