greptimedb-operator icon indicating copy to clipboard operation
greptimedb-operator copied to clipboard

Cannot upgrade image version

Open webfrank opened this issue 3 months ago • 3 comments

Installed greptimeDB standalone with these values:

image:
  # -- The image registry
  registry: docker.io
  # -- The image repository
  repository: greptime/greptimedb
  # -- The image tag
  tag: "v0.17.1"

Now want to upgrade image using tag v0.17.2 but if I upgrade the chart this is the error:

helm upgrade --install -n greptime --create-namespace -f values.yaml greptimedb greptime/greptimedb-standalone

Error: UPGRADE FAILED: cannot patch "greptimedb" with kind StatefulSet: StatefulSet.apps "greptimedb" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden

If I patch manually the tag in the StatefulSet template it works as expected upgrading the image.

webfrank avatar Oct 16 '25 16:10 webfrank