cloudnative-pg/charts

question about operator upgrade process

Opened this issue · 0 comments

Base on the cloudnative document, if i used the manifest(yaml) to provision the cnpg operator, i need to perform the upgrade sequentially, for example from 1.22.1 to 1.22.5, i need to apply 1.22.2, 1.22.3, 1.22.4, 1.22.5 yaml to finish the upgrade.

i would like to ask the question if i used the helm charts to install the operator, for example v0.20.1 (cnpg version 1.22.1), and now i want to upgrade to cnpg version 1.23.4, what is the appropriate or best practice to perform the upgrade?

  1. Directly download the v0.21.6 helm charts release and overwrite the appVersion (default from this release is 1.23.3) to 1.23.4.
  2. or i also need to follow the cnpg documents to perform the upgrade sequentially to install each minor version one after each, 1.22.2 -> 1.22.3 -> 1.22.4 -> 1.22.5 -> 1.23.0 -> 1.23.1 -> 1.23.2 -> 1.23.3 -> 1.23.4?