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

treefile: Support variable substitution in metadata #5165

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Nov 16, 2024

I want to stop abusing the rojig key in the CoreOS treefiles. But before we can switch over to metadata, we need variable substitution supported there too.

Note the metadata key can have arbitrarily nested values. For now, we just implement variable substitution for the first level of values since that's all we need.

I want to stop abusing the `rojig` key in the CoreOS treefiles. But
before we can switch over to `metadata`, we need variable substitution
supported there too.

Note the `metadata` key can have arbitrarily nested values. For now, we
just implement variable substitution for the first level of values since
that's all we need.
@jlebon jlebon mentioned this pull request Nov 16, 2024
Copy link
Member

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In theory this could break someone who has a `${} they aren't expecting to be substituted, but if that happens they can probably rework to stop triggering it.

@cgwalters cgwalters merged commit 042df0a into coreos:main Nov 17, 2024
16 checks passed
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.

2 participants