Closed defenestration closed 2 months ago
Hey @defenestration this shouldn't break the default helm install but I agree they should be removed as they are duplicates. cc @jessegoodier do you know if the plan is to remove this in 2.3.1?
it will be fixed in 2.3.1
for anyone that wants the fix before Monday, RC.1 is out and will most likely be 2.3.1
helm upgrade kubecost --repo https://kubecost.github.io/cost-analyzer cost-analyzer --namespace kubecost --version 2.3.1-rc.2
This is fixed in latest.
Kubecost Helm Chart Version
2.3.0
Kubernetes Version
1.29.0
Kubernetes Platform
AKS
Description
The cost-analyzer deployment seems to have some duplicated labels in
spec.template.metadata.labels
. This is causing us issues when upgrading from 2.2.5. Using this chart as a Fluxcd.io helmrelease crd,this prevents us from upgrading to 2.3.0.Error we get is about duplicate keys.
This is parsed output from
helm template -n default kubecost-test kubecost/cost-analyzer --version 2.3.0
I noted version 2.2.5 of the chart did not have these duplicate labels as well.
Steps to reproduce
helm template -n default kubecost-test kubecost/cost-analyzer --version 2.3.0
spec.template.metadata.labels
, mainlyapp.kubernetes.io/name
and other app.kubernetes.io ones as well.Expected behavior
Functional upgrade
Impact
Staying on 2.2.5 for now.
Screenshots
No response
Logs