-
Bug
-
Resolution: Done
-
Medium
-
Istanbul Release, Jakarta Release
-
None
When updating CPS Temporal from Istanbul to Jakarta, the database server statefull set is failing.
Here are the steps run on local machine to get the error:
1. Deploy Istanbul CPS chart to a Kubernetes cluster
2. Update the helm revision by deploying Jakarta (latest master) CPS chart in the same helm revision
Current behaviour:
The update is failing because the statefull set can not be patched
➜ ~ helm history bsa-cps REVISION UPDATED STATUS CHART APP VERSION DESCRIPTION 1 Thu Jan 13 14:34:51 2022 deployed cps-9.0.0 Install complete 2 Thu Jan 13 14:51:59 2022 failed cps-10.0.0 Upgrade "bsa-cps" failed: cannot patch "bsa-cps-temporal-db" with kind StatefulSet: StatefulSet.apps "bsa-cps-temporal-db" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden ➜ ~