Skip to content

Cannot upgrade image version #336

@webfrank

Description

@webfrank

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions