Polycrate CLI 0.29.7 released: API Schema Fix
With version 0.29.7, Polycrate receives important bug fixes for the operator’s API …
With Polycrate CLI 0.29.15, we have resolved the root cause of a persistent bug where endpoints with tls: false were not correctly serialized into the Kubernetes CRD from the API.
The issue was in the CRD definition of the endpoint type:
// Before (faulty)
// +kubebuilder:default=true
TLS bool `json:"tls,omitempty"`
With TLS=false (Go zero-value for bool), the field was not serialized into JSON due to omitempty. Kubernetes then applied the CRD default true—effectively ignoring the update.
// After (correct)
// +kubebuilder:default=false
TLS bool `json:"tls"`
By removing omitempty, false is explicitly serialized as "tls": false. The new default false prevents “Required value” errors with old CRs.
Additionally, debug logs for endpoint checks have been expanded. At loglevel: 2, full URLs and check results are now logged:
Performing endpoint check
url: http://example.com:80/
protocol: http
tls: false
Endpoint check failed
status_code: 404
error: Unexpected status code: 404
This significantly eases troubleshooting of endpoint monitoring issues.
New endpoints now have the following defaults:
| Field | Before | After |
|---|---|---|
tls |
true |
false |
protocol |
https |
http |
For HTTPS endpoints, tls: true must be explicitly set.
The polycrate-operator block has been updated to version 0.3.30:
polycrate pull cargo.ayedo.cloud/ayedo/k8s/polycrate-operator
polycrate run polycrate-operator deploy
Important: The new CRDs are automatically installed. Existing endpoints with incorrect TLS values will be corrected at the next API sync.
polycrate update 0.29.15
Or download the binaries directly from PolyHub.
Polycrate is ayedo’s Infrastructure-as-Code tool for declarative multi-cluster management. Learn more →
With version 0.29.7, Polycrate receives important bug fixes for the operator’s API …
With version 0.29.6, Polycrate receives a critical bug fix: The operator was unable to synchronize …
With version 0.29.5, Polycrate receives a critical bug fix: Endpoints with wildcard hostnames like …