We have introduced an issue on the helm Chart of all APIM version regarding the livecyclepreStop definition in templates of portal and ui deployment.
An installation or upgrade may have this issue:
Failed sync attempt to XXXXXXXXXX: one or more objects failed to apply, reason: "" is invalid: patch: Invalid value:
[...]
\"lifecycle\":{\"preStop\":{\"exec\":
{\"command\":\"['sh','-c', 'sleep 5 \\u0026 u0026 /usr/sbin/nginx -s quit']\"}
}}
Or:
with kind Deployment: "" is invalid: patch: Invalid value
This is related to a change which also implies a breaking change in APIM helm Charts to be incompatible with helm version older than 3.10.
We decide to rollback it by erase the helm package released with the fix without breaking change.
What does it mean:
If you downloaded an APIM helm chart between Friday January 19th 2024 to Monday January 22th 2024 at noon and tried to install or upgrade it, you could have the issue mentioned above. In that case you can update your helm repository with APIM helm Chart and retry the installation / upgrade. Or re-download the chart if you made it manually.
The breaking change with helm version was cancel, so APIM helm chart are still compatible with helm version older than 3.10.
We have introduced an issue on the helm Chart of all APIM version regarding the
livecycle
preStop
definition in templates of portal and ui deployment.An installation or upgrade may have this issue:
Failed sync attempt to XXXXXXXXXX: one or more objects failed to apply, reason: "" is invalid: patch: Invalid value: [...] \"lifecycle\":{\"preStop\":{\"exec\": {\"command\":\"['sh','-c', 'sleep 5 \\u0026 u0026 /usr/sbin/nginx -s quit']\"} }}
Or:
This is related to a change which also implies a breaking change in APIM helm Charts to be incompatible with helm version older than 3.10.
We decide to rollback it by erase the helm package released with the fix without breaking change.
What does it mean: