bluek8s / kubedirector

Kubernetes Director (aka KubeDirector) for deploying and managing stateful applications on Kubernetes
Apache License 2.0
401 stars 91 forks source link

make sure non-image-changing upgrades work #618

Closed joel-bluedata closed 1 year ago

joel-bluedata commented 2 years ago

Part of issue https://github.com/bluek8s/kubedirector/issues/588 ; related to issue #617.

It's quite possible that an upgrade will change some things about the kdapp (including the config package) but NOT change the container image. In which case KD may have things it needs to do to the container (e.g. issue #617 for config package changes) and we need to make sure that it is not completely relying on container-image-change as an indicator of an upgrade.

joel-bluedata commented 1 year ago

For the MVP I think it would be completely acceptable for the validation code to enforce that, when switching kdapps, the image MUST change.