Skip to content

Chart deployment fails when schedulers are enabled #4

@EshamAaqib

Description

@EshamAaqib

Description

Chart deployment fails when schedulers are enabled with

│ Error: malformed chart or values: 
│       templates/scheduler-extn.yaml: unable to parse YAML: invalid Yaml document separator: apiVersion: v1

Helm lint output with schedulers enabled

==> Linting charts/neuron-helm-chart
[INFO] Chart.yaml: icon is recommended
[ERROR] templates/scheduler-extn.yaml: unable to parse YAML: invalid Yaml document separator: apiVersion: v1

Fix

This should be fixable by removing the leading - from {{- if .Values.scheduler.serviceAccount.create -}}

{{- if .Values.scheduler.serviceAccount.create -}}

Metadata

Metadata

Assignees

No one assigned

    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