Skip to content

MCF: handle environment variables with defaults - #373

Merged
tomkralidis merged 1 commit into
masterfrom
env-var-default
Dec 1, 2026
Merged

tomkralidis merged 1 commit into
masterfrom
env-var-default

Conversation

@tomkralidis

Copy link
Copy Markdown
Member

No description provided.

@tomkralidis

Copy link
Copy Markdown
Member Author

CI failures are unrelated.

@tomkralidis
tomkralidis merged commit 8e83313 into master Dec 1, 2026
3 of 5 checks passed
@tomkralidis
tomkralidis deleted the env-var-default branch December 1, 2026 22:03
@pvgenuchten

Copy link
Copy Markdown
Contributor

Looks good tom, maybe a dict of env-params can also be provided as a parameter when calling convert method?

The ‘-‘ is part of the default value, or is it part of the separator? Pipe is also a good separator (jinja style)

the default value is not quoted?

@tomkralidis

Copy link
Copy Markdown
Member Author

Looks good tom, maybe a dict of env-params can also be provided as a parameter when calling convert method?

What would this look like? Example/use case?

The ‘-‘ is part of the default value, or is it part of the separator? Pipe is also a good separator (jinja style)

the default value is not quoted?

We borrowed the notation of the Docker Compose style of specifying environment variables with defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants