gravitee-io / issues

Gravitee.io - API Platform - Issues
65 stars 26 forks source link

[helm] fix preStop command templates on portal and ui #9474

Closed exalate-issue-sync[bot] closed 9 months ago

exalate-issue-sync[bot] commented 9 months ago

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:

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:

exalate-issue-sync[bot] commented 9 months ago

This issue will be fixed in versions 4.1.7, 4.0.16, 3.20.27, 4.2.1