Repository navigation
Add ExternalVolumeClass resource, CLI, and volume provisioning - #3751
Vu Le (lekhoavu2909) wants to merge 5 commits into
Conversation
c2ace22 to
1594d1f
Compare
375d7e7 to
d01d378
Compare
|
/lgtm |
0ff37fe to
58c7650
Compare
48afc09 to
414722a
Compare
|
🤖 Suggest aligning the length validation on On #3822, review asked for byte-based limits because hand-written
Why the totals here are 4 KiB and not #3744's 40 KiB: Tests: a key of 65 × |
35e2ac8 to
868d085
Compare
|
/lgtm |
6b6a5ce to
54c6a4b
Compare
ab08eb7 to
6b3ca59
Compare
6b3ca59 to
d358a6e
Compare
… by ObjectRef), ExternalVolumeTemplate.external_volume_class, CRUD/List RPCs, and apitool examples/tests. Signed-off-by: Vu Le <vulk@google.com>
…ver_configs), store.Interface methods, atepg CRUD, and contract/Postgres tests. Signed-off-by: Vu Le <vulk@google.com>
…ries, RPCService/ServiceImpl handlers, and functional tests. Signed-off-by: Vu Le <vulk@google.com>
…gh ateletpb/atelet, and volume lifecycle tests. Signed-off-by: Vu Le <vulk@google.com>
af1521f to
3627260
Compare
|
|
||
| // storage_class_name names the cluster-scoped Kubernetes StorageClass to | ||
| // create the volume from. Required. | ||
| // `storage_class_name` names the cluster-scoped Kubernetes StorageClass to |
There was a problem hiding this comment.
add a todo for replacing this with external_volume_class.
| // +k8s:required | ||
| // +k8s:maxLength=63 | ||
| // +k8s:format=k8s-long-name | ||
| string driver_name = 1; |
There was a problem hiding this comment.
This should be an objectref to CSIDriverConfig
…horization/resource-model docs. Signed-off-by: Vu Le <vulk@google.com>
3627260 to
2baef25
Compare
Adds the ExternalVolumeClass API resource, PostgreSQL storage, request validation, OpenFGA authorization, Control service RPC handlers, kubectl ate CLI commands (get, create -f, and delete), and actor volume provisioning from ExternalVolumeClass (including forwarding mount_options to CSI VolumeCapability.Mount.MountFlags).
An ExternalVolumeClass is a global-scoped, immutable resource whose csi field names the CSI driver (csi.driver_name), driver-specific CreateVolume parameters (csi.parameters), and mount options (csi.mount_options) used to provision and mount external volumes, replacing the Kubernetes StorageClass reference on ActorTemplate. ExternalVolumeTemplate.storage_class_name remains supported alongside external_volume_class until callers switch over in #3806 and StorageClass support is removed in #3816. Consolidates #3742, #3743, #3751, #3752, #3774, and #3776 into one PR with incremental commits for review.
Part of #3754
AI use: AI-assisted, I reviewed and tested it.
Breaking change: no. Adds the external_volume_classes table via migration and keeps ExternalVolumeTemplate.storage_class_name working alongside external_volume_class. CreateExternalVolumeClass requires the ExternalVolumes preview gate, while Get, List, and Delete remain available when the gate is off. StorageClass mountOptions are now forwarded to CSI MountFlags where they were previously ignored.