You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
The OSG folks are having issues doing upgrades using the Helm operator for Flux - specifically it seems to be a problem with having the Chart version in the label of our applications.
The errors are something like this:
ts=2021-04-26T22:48:56.5489564Z caller=release.go:357 component=release release=osgdev-chtc-itb-slurm-ce targetNamespace=osgdev resource=osgdev:helmrelease/chtc-itb-slurm-ce helmVersion=v3 error="upgrade failed: cannot patch \"osg-hosted-ce-chtc-itb-slurm\" with kind Deployment: Deployment.apps \"osg-hosted-ce-chtc-itb-slurm\" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{\"app\":\"chtc-itb-slurm\", \"chart\":\"osg-hosted-ce-3.8.2\", \"instance\":\"chtc-itb-slurm\", \"release\":\"osgdev-chtc-itb-slurm-ce\"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable" action=upgrade
I think Helm cannot upgrade because we have the Chart version baked into the chart. Updating the Chart changes the value and breaks the selector, as I understand it.
Can we remove it?
The text was updated successfully, but these errors were encountered:
The OSG folks are having issues doing upgrades using the Helm operator for Flux - specifically it seems to be a problem with having the Chart version in the label of our applications.
The errors are something like this:
I think Helm cannot upgrade because we have the Chart version baked into the chart. Updating the Chart changes the value and breaks the selector, as I understand it.
Can we remove it?
The text was updated successfully, but these errors were encountered: