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

Helm chart produces empty lines in yamls #631

Closed
jkremser opened this issue Sep 30, 2021 · 0 comments
Closed

Helm chart produces empty lines in yamls #631

jkremser opened this issue Sep 30, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jkremser
Copy link
Member

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"
              ...
@jkremser jkremser added the enhancement New feature or request label Sep 30, 2021
@jkremser jkremser self-assigned this Sep 30, 2021
jkremser added a commit to jkremser/k8gb that referenced this issue Sep 30, 2021
…ng conditionals

Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
@jkremser jkremser added this to the 0.9 milestone Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant