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

YAML document separators #77

Open
wants to merge 1 commit into
base: anvil
Choose a base branch
from

Conversation

ksuderman
Copy link
Collaborator

According to the YAML specification three dashes are used to separate YAML directives from the document content and are also used to mark the start of a document if the file (stream) contains more than one YAML document. However, several templates include a document separator at the end of the file, which can cause odd syntax problems depending on the order Helm arranges the templates.

This PR adds triple dashes to the top of each YAML document and removes extraneous appearances elsewhere. The document separator is optional if a file only contains one YAML document, but I have added them to all templates for completeness.

@ksuderman ksuderman requested review from afgane and nuwang March 13, 2024 20:38
@ksuderman
Copy link
Collaborator Author

ksuderman commented Mar 13, 2024

I will try to get rid of the extraneous commit (b64a7af) that should not have been included in this PR. [DONE]

@ksuderman ksuderman force-pushed the paper-cuts-yaml-document-headers branch from 00336ba to 6758e2d Compare March 13, 2024 20:40
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

Successfully merging this pull request may close these issues.

1 participant