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

tolerations configuration doesn't work. #42

Open
pennytextures opened this issue Sep 22, 2023 · 1 comment
Open

tolerations configuration doesn't work. #42

pennytextures opened this issue Sep 22, 2023 · 1 comment

Comments

@pennytextures
Copy link

pennytextures commented Sep 22, 2023

I can't figure out any way to get the chart to take tolerations,

daemonset:
  tolerations:
    - effect: NoSchedule
      operator: Exists

this does not work

Error: Failed to render chart: exit status 1: coalesce.go:220: warning: cannot overwrite table with non table for machine-agent.daemonset.tolerations (map[])
Error: YAML parse error on machine-agent/templates/daemonset.yaml: error converting YAML to JSON: yaml: line 74: did not find expected key
@pennytextures
Copy link
Author

pennytextures commented Jan 25, 2024

The indentation is wrong, it should be 6, not 8.

You can work around it by adding this to values:

agent:
  includeMasters: false

extraVolumes:
  tolerations:
    - effect: NoSchedule
      operator: Exists

As extraVolumes is in the right indentation.

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