timescale / tobs

tobs - The Observability Stack for Kubernetes. Easy install of a full observability stack into a k8s cluster with Helm charts.
Apache License 2.0
563 stars 60 forks source link

Upgrading from v0.11.0 to latest (v12.1.1) fails #553

Closed onprem closed 2 years ago

onprem commented 2 years ago

What happened?

When upgrading from v0.11.0 to v12.1.1, the upgrade failed with the following error:

Helm upgrade failed: cannot patch "tobs-promscale" with kind Deployment: Deployment.apps "tobs-promscale" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[st │
│ ing[]string{"app":"tobs-promscale", "release":"tobs"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable

The workaround was to delete the Promscale deployment and then attempting the upgrade.

Did you expect to see something different?

Helm upgrade goes through successfully.

Environment