gravitee-io / issues

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

Backward incompatibility during helm upgrade with old values.yml #9446

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

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

Since helm chart related to APIM 3.20.21 we introduce the change https://github.com/gravitee-io/helm-charts/commit/2f117b567449014a0cd4847a54345f7d0b5cadf4#diff-c736dbd453977cb968ddeb3bec96e4519a26cbfc393f1c397a7f6c1ded3c1640 which implies a backward compatibility issue. In fact, a values.yml without common.labels definition cannot be used. This should be fixed by set optional this definition.

Howto reproduce the issue:

sed -i -e '/common:/,/ *annotations:/d' values.yaml

cd helm
helm install graviteeio-apim . --version 3.20.20 -f values.yaml --create-namespace --namespace test-playground

This helm install failed.

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

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