Skip to content

[QUESTION] Environment variables in registry config files? #761

Answered by iwilltry42
gyszalai asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @gyszalai , thanks for opening this issue!
A solution to this issue depends on how you use the registry config.
In general, that config is used by K3s and k3d doesn't touch it (apart from when it generates it in some use cases).
But, the k3d configuration file supports expanding environment variables as of k3d v5.0.0, so if you use the embedded registry config there, environment variables would be expanded.
Does that work for you?

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@iwilltry42
Comment options

Comment options

You must be logged in to vote
2 replies
@gyszalai
Comment options

@iwilltry42
Comment options

Answer selected by gyszalai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants