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

Install failed when using clusterpedia as subchart together with mysql #61

Open
27149chen opened this issue Nov 1, 2023 · 2 comments
Open

Comments

@27149chen
Copy link
Contributor

What happened?

Install failed when using clusterpedia as subchart together with mysql, error is:

NSTALLATION FAILED: template: ys1000/charts/mysql/templates/primary/svc.yaml:11:14: executing "ys1000/charts/mysql/templates/primary/svc.yaml" at <include "common.labels.standard" (dict "customLabels" .Values.commonLabels "context" $)>: error calling include: template: ys1000/charts/clusterpedia/charts/common/templates/_labels.tpl:6:27: executing "common.labels.standard" at <include "common.names.name" .>: error calling include: template: ys1000/charts/clusterpedia/charts/common/templates/_names.tpl:6:18: executing "common.names.name" at <.Chart.Name>: nil pointer evaluating interface {}.Name

What did you expect to happen?

install succeeded

How can we reproduce it (as minimally and precisely as possible)?

create a parent chart and add the following subcharts:

dependencies:
- name: mysql
  repository: oci://registry-1.docker.io/bitnamicharts
  version: 9.x.x
  condition: tags.mysql
- name: clusterpedia
  repository: https://clusterpedia-io.github.io/clusterpedia-helm
  version: 1.4.0
  condition: tags.clusterpedia

Anything else we need to know?

No response

@clusterpedia-bot
Copy link

Hi @27149chen,
Thanks for opening an issue!
We will look into it as soon as possible.

Details

Instructions for interacting with me using comments are available here.
If you have questions or suggestions related to my behavior, please file an issue against the gh-ci-bot repository.

@27149chen
Copy link
Contributor Author

there is a fix for the nil interface: #61
But the main issue here is "common.labels.standard" is defined in multiple charts

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