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
I believe it was first reported in #1298 and fixed in #1299, which will be part of the upcoming release. So, I'm going to close the issue.
Though, thanks for reporting!
Describe the bug
Templates produce duplicate labels because of unsafe use of merge.
Version
v5.4.2
To Reproduce
Run
helm template -f values.yaml .
from the root of the chart folder and notice repetitive labels in deployment resource.Expected behavior
Should have no duplicates in labels.
Suspect component/Location where the bug might be occurring
In
rbac.yaml
:The fix is to make a deep copy of
.Values.additionalLabels
before callingmerge
:Runtime (please complete the following information):
The text was updated successfully, but these errors were encountered: