-
Notifications
You must be signed in to change notification settings - Fork 260
Description
Greetings Team !
Getting the following issue while trying to update the helm chart for Keda http addons from 0.7.0 to v0.9.0 :
Upgrade failed: cannot patch "keda-add-ons-http-interceptor" with kind
│ Deployment: Deployment.apps "keda-add-ons-http-interceptor" is invalid:
│ spec.selector: Invalid value:
│ v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/component":"interceptor",
│ "app.kubernetes.io/instance":"keda-add-ons-http",
│ "app.kubernetes.io/managed-by":"Helm",
│ "app.kubernetes.io/part-of":"keda-add-ons-http"},
│ MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable &&
│ cannot patch "keda-add-ons-http-controller-manager" with kind Deployment:
│ Deployment.apps "keda-add-ons-http-controller-manager" is invalid:
│ spec.selector: Invalid value:
│ v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/component":"operator",
│ "app.kubernetes.io/instance":"keda-add-ons-http",
│ "app.kubernetes.io/managed-by":"Helm",
│ "app.kubernetes.io/part-of":"keda-add-ons-http"},
│ MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable &&
│ cannot patch "keda-add-ons-http-external-scaler" with kind Deployment:
│ Deployment.apps "keda-add-ons-http-external-scaler" is invalid:
│ spec.selector: Invalid value:
│ v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/component":"scaler",
│ "app.kubernetes.io/instance":"keda-add-ons-http",
│ "app.kubernetes.io/managed-by":"Helm",
│ "app.kubernetes.io/part-of":"keda-add-ons-http"},
│ MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
Can you help out with the issue above, I am able to figure out thats its trying to edit the spec label selector requirements which is immutable in nature