Skip to content

feat(proto): profile CRUD and apply-to-node; ListProfiles returns CertificateProfile#60

Merged
Bugs5382 merged 1 commit into
mainfrom
feat/profiles-crud-apply
Jul 20, 2026
Merged

feat(proto): profile CRUD and apply-to-node; ListProfiles returns CertificateProfile#60
Bugs5382 merged 1 commit into
mainfrom
feat/profiles-crud-apply

Conversation

@Bugs5382

Copy link
Copy Markdown
Contributor

What and why

Turns the read-only seeded profile catalog into a fleet-managed one. The manager catalog reuses the node's own cryptos.v1.CertificateProfile type (already imported into fleet.proto for the S5 MachineConfig), so catalog entries and a node's pki.profiles[] become the same type: drift is a proto compare, apply is a verbatim insert.

  • ListProfilesResponse now returns repeated cryptos.v1.CertificateProfile.
  • Adds CreateProfile, UpdateProfile, DeleteProfile, and ApplyProfileToNode RPCs with request/response messages.
  • Removes the parallel fleet.CertProfile message (never shipped).
  • Regenerates the Go and TypeScript stubs.

This is a breaking change only against the unreleased ListProfiles; nothing has shipped (v1.0.0 not cut).

Closes #59
Part of #24

Verification

  • Lint clean (task lint)
  • Tests pass (task test)
  • Build succeeds (go build ./...)

How this was verified

task fmt, task lint (buf lint + format check) clean; task generate reproducing the stubs deterministically; go build ./... and task test green; confirmed no stray CertProfile references remain.

…tificateProfile

ListProfilesResponse now carries repeated cryptos.v1.CertificateProfile, the
same shape a node stores in pki.profiles[], so the catalog is a lossless
superset the node accepts verbatim and drift is a proto compare. Add
CreateProfile, UpdateProfile, DeleteProfile, and ApplyProfileToNode with their
request/response messages, and remove the parallel fleet.CertProfile message.

Regenerate the Go and TypeScript stubs.

Closes #59
@Bugs5382 Bugs5382 added this to the v1.0.0 milestone Jul 20, 2026
@Bugs5382 Bugs5382 self-assigned this Jul 20, 2026
@github-actions github-actions Bot added the enhancement New feature (feat). Minor version bump. label Jul 20, 2026
@Bugs5382
Bugs5382 merged commit b079971 into main Jul 20, 2026
12 checks passed
@Bugs5382
Bugs5382 deleted the feat/profiles-crud-apply branch July 20, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature (feat). Minor version bump.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(proto): profile CRUD and apply-to-node; ListProfiles returns CertificateProfile

1 participant