-
Notifications
You must be signed in to change notification settings - Fork 515
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
schnauzer: add v1->v2 template guide, resolve migration bugs #3488
Conversation
The setting generator allows the user to specify any template requirements via the CLI, rather | ||
than requiring frontmatter, e.g. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is "rather than requiring frontmatter" something that should also be mentioned where frontmatter is introduced above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, I'll add this in a separate commit.
558f4c7
to
83003c8
Compare
sources/api/schnauzer/README.md
Outdated
# The rest of the template now goes after the `+++` frontmatter delimiter. | ||
``` | ||
|
||
NOTE: `schnauzer-v2` was merged into Bottlerocket prior to the complete introduciton of settings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: `schnauzer-v2` was merged into Bottlerocket prior to the complete introduciton of settings | |
NOTE: `schnauzer-v2` was merged into Bottlerocket prior to the complete introduction of settings |
The container versions in the previously merged migrations were not updated on rebase. Additionally, one of the migrations was missing a '=' character in the helper specification.
83003c8
to
865d658
Compare
Fix typo pointed out by @bcressey |
Issue number:
#3133
Description of changes:
As part of moving to the new template system, this adds a guide to help folks rewrite templates to be schnauzer v2 compatible.
This also resolves two bugs in the migrations:
=
character when specifying helpers.Testing done:
aws-k8s-1.28
After the migration, I ran
$ apiclient raw -u '/metadata/setting-generators' | jq
:Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.