camel-k icon indicating copy to clipboard operation
camel-k copied to clipboard

Operator restart Integrations on upgrade

Open squakez opened this issue 1 year ago • 0 comments

Verified when upgrading from Camel version 2.3.0 to 2.3.1. Any existing integration is restarted and even a new Pod is scheduled (see log below). It is very likely because we use the operator version to calculate digest (see #5192) when we really should account for runtime version/provider instead.

NAME   PHASE     RUNTIME PROVIDER   RUNTIME VERSION   KIT                        REPLICAS
# Camel K 2.3.0
test   Building Kit   quarkus            3.8.1             kit-couff1l2cjmc73fhht0g   
test   Deploying      quarkus            3.8.1             kit-couff1l2cjmc73fhht0g   
test   Running        quarkus            3.8.1             kit-couff1l2cjmc73fhht0g   0
test   Running        quarkus            3.8.1             kit-couff1l2cjmc73fhht0g   1
test   Running        quarkus            3.8.1             kit-couff1l2cjmc73fhht0g   1
# Camel K 2.3.1 upgrade
test   Running   quarkus            3.8.1             kit-couff1l2cjmc73fhht0g   1
test   Running   quarkus            3.8.1             kit-couff1l2cjmc73fhht0g   2
test   Running   quarkus            3.8.1             kit-couff1l2cjmc73fhht0g   1
test   Running   quarkus            3.8.1             kit-couff1l2cjmc73fhht0g   1

The rebuild should only be performed manually.

squakez avatar May 09 '24 16:05 squakez