Polycrate API version 0.11.6 addresses critical validation errors that prevented updates via the operator.
UniqueValidator Fixes
K8sApp Block Validation
When updating a K8sApp, the following error occurred:
{"block": ["Kubernetes App with this block already exists."]}
The issue: Django REST Framework automatically adds a UniqueValidator to OneToOneField, which does not exclude the current record during updates.
Host Unique Constraints
A similar issue occurred with hosts using the constraints unique_host_per_workspace and unique_hostname_per_workspace.
Solution
Both serializers now override the validation to exclude the current record during updates.
Base Image Update
The Docker image is now based on polycrate-cli 0.29.8 with improved API error diagnostics.
polycrate-api Block
The polycrate-api block has been updated accordingly:
polycrate pull cargo.ayedo.cloud/ayedo/k8s/polycrate-api
polycrate run polycrate-api install
Update Now
docker pull cargo.ayedo.cloud/polycrate/polycrate-api:0.11.6
Polycrate is ayedo's Infrastructure-as-Code tool for declarative multi-cluster management. Learn more →