Skip to content

Exit code 127 during helmfile diff #516

@Pela2silveira

Description

@Pela2silveira

Hi team, I am having a problem particulary with karpenter crd chart, I wonder if th same is happening to you:

2025-06-19T19:59:06.0137464Z                       kind:
2025-06-19T19:59:06.0138039Z                         description: 'Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2025-06-19T19:59:06.0138222Z                         type: string
2025-06-19T19:59:06.0138421Z                         x-kubernetes-validations:
2025-06-19T19:59:06.0138636Z                           - message: kind may not be empty
2025-06-19T19:59:06.0138830Z                             rule: self != 
2025-06-19T19:59:06.0139133Z                       name:
2025-06-19T19:59:06.0139374Z                         description: Name of the referent
2025-06-19T19:59:06.0139857Z /home/runner/work/_temp/7f0fe17c-d138-4bc5-a94b-2fb2bcaf7900.sh: line 966: More: command not found
2025-06-19T19:59:06.0144095Z ##[error]Process completed with exit code 127.
2025-06-19T19:59:06.0311278Z Post job cleanup.

rendered part:

                      kind:
                        description: 'Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"'
                        type: string
                        x-kubernetes-validations:
                          - message: kind may not be empty
                            rule: self != ''
                      name:
                        description: 'Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names'
                        type: string
                        x-kubernetes-validations:
                          - message: name may not be empty
                            rule: self != ''

it is weird that the previouse More dont generate a trouble.

this is my helmfile:

bases:
  - environments.yaml

repositories:
  - name: awskarpenter
    url:  public.ecr.aws
    oci: true
    username: AWS
    password: {{ exec "aws" (list "ecr-public" "get-login-password" "--region" "us-east-1") }}

releases:
  - name: karpenter-crd
    namespace: kube-system
    version: {{ .StateValues.KARPENTER_CHART_VERSION }}
    chart: awskarpenter/karpenter/karpenter-crd

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions