Skip to content

Helm chart produces empty lines in yamls #631

Closed
@jkremser

Description

When using helm template ... chart/k8gb the resulting list of yamls contains couple of empty lines. It's more an aesthetic thing, because semantically it's a valid format, but still. It's caused by the helm chart conditions and that missing dash symbols.

example:

...
template:
    metadata:
      labels:
        name: k8gb
    spec:

      serviceAccountName: k8gb
      containers:
        - name: k8gb
          ...
          env:
              ...
            - name: DNS_ZONE
              value: cloud.example.com
            - name: RECONCILE_REQUEUE_SECONDS
              value: "30"




            - name: LOG_FORMAT
              value: "simple"
            - name: LOG_LEVEL
              value: "info"
            - name: NO_COLOR
              value: "true"
              ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions