Skip to content

ateapi: add CsiDriverConfig proto message and PostgreSQL store - #3778

Closed
Vu Le (lekhoavu2909) wants to merge 17 commits into
agent-substrate:mainfrom
lekhoavu2909:cdc-pr1-store
Closed

Vu Le (lekhoavu2909) wants to merge 17 commits into
agent-substrate:mainfrom
lekhoavu2909:cdc-pr1-store

Conversation

@lekhoavu2909

@lekhoavu2909 Vu Le (lekhoavu2909) commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Adds CsiDriverConfig, a global-scoped resource that configures how the control plane and worker nodes connect to an external CSI driver, including controller endpoint URI, optional node socket override, and controller TLS settings. Covers the API messages, custom validation, and PostgreSQL storage layer only. Control RPCs, authorization, and volume provisioning wiring follow in subsequent PRs.

  • CsiDriverConfig and CsiDriverTlsConfig proto messages, custom validation, and unit tests
  • PostgreSQL migration, store.Interface, atepg persistence, defaults, and ServiceImpl pass-throughs
  • Store contract tests and PostgreSQL tamper and concurrency tests

Part of #3754.

AI use: AI-assisted. Used AI to draft code and tests and run verification, which I reviewed and tested. Commit messages and DCO sign-off are human-written.

Breaking change: no. Adds the csi_driver_configs table and an external_volume_classes.driver_name column with an empty default via migration.

  • Tests pass
  • Docs updated

regenerate ateapi.go, and register ExternalVolumeClass in apitool
TestBuild_Annotations.

Signed-off-by: Vu Le <vulk@google.com>
controlapi.ServiceImpl store pass-throughs

Signed-off-by: Vu Le <vulk@google.com>
table truncation and driver_name column test

Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
apitool example

Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
Signed-off-by: Vu Le <vulk@google.com>
@lekhoavu2909

Copy link
Copy Markdown
Collaborator Author

Folded into #3808 so the CsiDriverConfig resource, store, RPCs, authz, and handlers can be reviewed together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant