Polycrate CLI 0.29.6 released: API Client Type Fix
ayedo Redaktion 1 Minute Lesezeit

Polycrate CLI 0.29.6 released: API Client Type Fix

Polycrate CLI 0.29.6 addresses a critical JSON deserialization error: K8sApp objects can now be correctly synchronized with the API again.
polycrate kubernetes devops bugfix operator api

With version 0.29.6, Polycrate receives a critical bug fix: The operator was unable to synchronize K8sApp objects with the API.

The Problem

The Polycrate Operator could not synchronize K8sApps with the API and returned the following error:

json: cannot unmarshal object into Go struct field K8sApp.workspace of type *uuid.UUID

The Cause

The generated API client expected a UUID as a string for the workspace field, but the API returned a complete object with id, name, url, etc.

The Fix

The API client was regenerated with the current OpenAPI schema from polycrate-api 0.11.5. The workspace field now uses the correct type:

// Before (incorrect):
Workspace *uuid.UUID

// After (correct):
Workspace *WorkspaceSimple

polycrate-operator: Automatic Image Tag

Bonus: The polycrate-operator block now automatically uses app_version for the Docker image. No more manual image_tag updates needed.

Full Release Notes

polycrate-operator Block

The polycrate-operator block has been updated to version 0.3.11:

polycrate pull cargo.ayedo.cloud/ayedo/k8s/polycrate-operator
polycrate run polycrate-operator install

Update Now

polycrate update 0.29.6

Or download the binaries directly from PolyHub.


Polycrate is ayedo’s Infrastructure-as-Code tool for declarative multi-cluster management. Learn more →

Ähnliche Artikel