Pulling multiple helm charts from ECR returns "signal: killed"

0

Using ECR as helm chart registry with helm and helmfile I can pull one helm chart without problem, but if I add another, I get the error "signal killed"

	in ./helmfile.yaml: in .helmfiles[6]: in helmfiles/jx-staging/helmfile.yaml: [release "subscription": command "/usr/bin/helm" exited with non-zero status:
PATH:
  /usr/bin/helm
ARGS:
  0: helm (4 bytes)
  1: pull (4 bytes)
  2: oci://123456.dkr.ecr.us-west-1.amazonaws.com/subscription (63 bytes)
  3: --version (9 bytes)
  4: 0.13.7 (6 bytes)
  5: --destination (13 bytes)
  6: /tmp/helmfile2419301357/subscription/subscription/0.13.7 (56 bytes)
  7: --untar (7 bytes)
ERROR:
  signal: killed

I read that "Authentication tokens must be obtained for each registry used, and the tokens are valid for 12 hours" however for this scenario, the documented way to login to helm does not include the chart name. https://docs.aws.amazon.com/AmazonECR/latest/userguide/ECR_on_EKS.html#using-helm-charts-eks

aws ecr get-login-password \
     --region us-west-2 | helm registry login \
     --username AWS \
     --password-stdin aws_account_id.dkr.ecr.region.amazonaws.com

Is it really the case that it is necessary to get a new login token for each helm chart pulled? Or is it a bug somewhere?

  • I figured that I can make it work by setting helmfile to fetch only one chart at a time (setting flag --concurrency=1). Not sure where the error comes from but it may be in helmfile.

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인