XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • EAP-XP-5.0.0.GA
    • HelmChart
    • None

      $ helm lint ./charts/eap-xp5 
      ==> Linting ./charts/eap-xp5
      [ERROR] templates/service.yaml: unable to parse YAML: invalid Yaml document separator: apiVersion: v1
      Error: 1 chart(s) linted, 1 chart(s) failed
      

      caused by one of service files being empty.

      $ helm install foo ./charts/eap-xp5 --dry-run | grep service.yaml -A2 
      # Source: eap-xp5/templates/service.yaml
      apiVersion: v1
      kind: Service
      --
      # Source: eap-xp5/templates/service.yaml
      apiVersion: v1
      kind: Service
      --
      # Source: eap-xp5/templates/service.yaml
      ---
      ---

      Install command succeeds without problems

              Unassigned Unassigned
              ldokoupi@redhat.com Ladislav Dokoupil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: