Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dce-system/insight chart has repeated app.kubernetes.io/name field in multiple templates #47

Open
DonaldKellett opened this issue Nov 7, 2023 · 0 comments
Assignees

Comments

@DonaldKellett
Copy link

dce-system/insight chart has repeated app.kubernetes.io/name field in multiple templates which causes HelmRelease reconciliation failures with Flux v2 as shown in the screenshot below:

2023-11-07 16_43_58-donaldleung@ESPF3QDR0B_ ~

Furthermore, this issue is reproducible with the default values.yaml provided by the chart itself so not specific to a particular values.yaml configuration.

Chart details

  • Repository: dce-system (https://release.daocloud.io/chartrepo/system)
  • Chart name: insight
  • Chart version: 0.21.1 (affects 0.19.x as well)

Steps to reproduce

helm repo add dce-system https://release.daocloud.io/chartrepo/system
helm repo update
helm pull --version 0.21.1 dce-system/insight --untar
helm template insight insight/ --show-only templates/runbooks/serviceaccount.yaml | yq '.metadata.labels'

Output:

app.kubernetes.io/name: insight-runbook
helm.sh/chart: insight-0.21.1
app.kubernetes.io/name: insight
app.kubernetes.io/instance: insight
app.kubernetes.io/version: "0.21.1"
app.kubernetes.io/managed-by: Helm

As can be seen, the field app.kubernetes.io/name is defined twice.

This issue occurs multiple times throughout the chart - please refer to the attachment below for the full output of helm template.

insight-template.yaml.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants