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

Chart deployment fails when schedulers are enabled #4

Open
EshamAaqib opened this issue Nov 26, 2024 · 0 comments
Open

Chart deployment fails when schedulers are enabled #4

EshamAaqib opened this issue Nov 26, 2024 · 0 comments

Comments

@EshamAaqib
Copy link

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 -}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant