<#20911 Pants package command hangs for helm chart...
# github-notifications
c
#20911 Pants package command hangs for helm chart with dependency subcharts of the same name Issue created by EdDanileyko Describe the bug A clear and concise description of the bug. Running
pants package
on charts that contain subcharts of the same name will hang indefinitely. for example
Copy code
apiVersion: v2
name: cert-manager
description: A Helm chart for Kubernetes cert manager
version: v1.12.2
appVersion: "0.1.0"
kubeVersion: '>=1.24.0-0'
dependencies:
  - name: cert-manager   # <- subchart has the same name
    version: v1.14.5
    repository: <https://charts.jetstack.io>
    alias: certmanager
This will hang indefinitely until aborted. The following will work, however:
Copy code
apiVersion: v2
name: certmanager  # <- note the name diff
description: A Helm chart for Kubernetes cert manager
version: v1.12.2
appVersion: "0.1.0"
kubeVersion: '>=1.24.0-0'
dependencies:
  - name: cert-manager
    version: v1.14.5
    repository: <https://charts.jetstack.io>
    alias: certmanager
Pants version Which version of Pants are you using? 2.19.0 OS Are you encountering the bug on MacOS, Linux, or both? Both Additional info Add any other information about the problem here, such as attachments or links to gists, if relevant. pantsbuild/pants