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

Add "parameterize" setting generator #637

Merged
merged 1 commit into from
Feb 1, 2020
Merged

Add "parameterize" setting generator #637

merged 1 commit into from
Feb 1, 2020

Commits on Feb 1, 2020

  1. Add "schnauzer" generator for parameterized setting values

    This lets settings be generated based on a template that reference other
    settings.  The first example is regional container image URIs, where we replace
    part with the value of settings.aws.region.
    
    The template is stored as a new metadata key, next to the setting-generator
    metadata, which schnauzer will read from the API.  For example, if the template
    is "foo-{{ settings.bar }}" and "settings.bar" is set to "baz", then the
    setting output will be "foo-baz".
    
    To be able to reference other settings from sundog-spawned generators, we need
    to commit settings that have already been patched, e.g. from user data.  To do
    this, this commit eliminates the settings-committer service, instead using the
    settings-committer binary as an ExecStartPre on any service that requires
    committed settings.
    tjkirch committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    ba9e608 View commit details
    Browse the repository at this point in the history