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
af1521f to
3627260
Compare
3627260 to
2baef25
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>
Adds the CsiDriver API resource, PostgreSQL storage, request validation, OpenFGA authorization, Control service RPC handlers, and kubectl ate CLI commands (get, create -f, update -f, and delete). CsiDriver is a global-scoped resource (metadata.atespace must be empty) that registers a CSI driver with the Substrate control plane by a unique, immutable driver_name and holds its mutable controller_endpoint (structured CsiDriverEndpoint with host and port) and tls settings (pod-identity mTLS with server_name, or omitted for plaintext). Switching ate-api-server plugin resolution to PostgreSQL CsiDriver is deferred to agent-substrate#3926, and the ExternalVolumeClass reference guard moves to agent-substrate#3751 as a PostgreSQL foreign key once ExternalVolumeClass stacks on this PR. - CsiDriver, CsiDriverEndpoint, and CsiDriverTlsConfig proto messages, field validation (driver_name as k8s-long-name max 63 chars; structured host and port; server_name for pod-identity mTLS), and apitool registration - PostgreSQL 000002_csi_drivers.sql migration, store.Interface, atepg CRUD, defaults, and contract tests - OpenFGA model (global owners and viewers), contextual tuple, and authz helpers - Create/Get/List/Update/DeleteCsiDriver RPCs (Create and Update gated by ExternalVolumes; Get, List, and Delete ungated), two-step update validation, permission registry, and apitool example - Resource model and authorization docs - RPCService and ServiceImpl Control handlers, authorization functional tests, and CRUD functional tests - CsiDriver printer, kubectl ate get/create/update/delete csi-driver commands, unit tests, and CLI reference docs <!-- The PR title becomes the release note. Write it for users. --> Part of agent-substrate#3754 <!-- e.g. "AI-assisted, I reviewed and tested it." No AI co-author trailers. --> AI use: AI-assisted, I reviewed and tested it. <!-- Breaking change? Describe what users must do on upgrade and ask for the breaking-change label. --> Breaking change: no. Adds the csi_drivers table via migration and leaves existing CSI plugin resolution unchanged until agent-substrate#3926. Create and Update require the ExternalVolumes preview gate, while Get, List, and Delete remain available when the gate is off. - [x] Tests pass - [x] Docs updated --------- Signed-off-by: Vu Le <vulk@google.com>
2baef25 to
df6d8a8
Compare
…horization/resource-model docs. Signed-off-by: Vu Le <vulk@google.com>
df6d8a8 to
41583bd
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 references a CsiDriver (csi.csi_driver) and holds 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.