You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
werf converge suddenly starts producing errors like this:
Error: failed release "myapp-prod" (namespace: "myapp-prod"): error executing deploy plan: error waiting for operations completion: error executing operation: error applying resource: error server-side applying resource "PersistentVolume/mypv": failed to create typed patch object (/mypv; /v1, Kind=PersistentVolume): .spec.readOnly: field not declared in schema
Reason
New deployment engine (Nelm), activated by default since v1.2.296, has stricter validation for chart resources because of the removal of 3-Way Merge in favor of Server-Side Apply. Server-Side Apply enforces stricter resource validation by default.
Mitigation
These errors indicate mistakes made in resource manifests in your chart, e.g. unsupported or misconfigured fields. Fixing the mistakes in your chart manifests is the correct solution. Alternatively, you can temporarily revert back to the old engine by export WERF_NELM=0.
The text was updated successfully, but these errors were encountered:
Version
1.2.296+
Issue
werf converge
suddenly starts producing errors like this:Error: failed release "myapp-prod" (namespace: "myapp-prod"): error executing deploy plan: error waiting for operations completion: error executing operation: error applying resource: error server-side applying resource "PersistentVolume/mypv": failed to create typed patch object (/mypv; /v1, Kind=PersistentVolume): .spec.readOnly: field not declared in schema
Reason
New deployment engine (Nelm), activated by default since v1.2.296, has stricter validation for chart resources because of the removal of 3-Way Merge in favor of Server-Side Apply. Server-Side Apply enforces stricter resource validation by default.
Mitigation
These errors indicate mistakes made in resource manifests in your chart, e.g. unsupported or misconfigured fields. Fixing the mistakes in your chart manifests is the correct solution. Alternatively, you can temporarily revert back to the old engine by
export WERF_NELM=0
.The text was updated successfully, but these errors were encountered: