Skip to content

Conversation

markstos
Copy link
Contributor

The envsubst command is often not installed by default on minimal distros.

However, the same result can be accomplished by calling a shell eval command
which will cause the command to be evaluated with all the currently set environment
variables considered.

This change has not been tested yet.

@quantonganh
Copy link
Owner

I was afraid that there might be a security issue if we expand all environment variables by default, but since we manage our configuration file, I think it's okay to use eval.

Could you please resolve conflicts?

@markstos
Copy link
Contributor Author

Conflicts resolved.

Next, perhaps one of the jq or yq deps can be dropped, since it seems their functionality overlaps.

The envsubst command is often not installed by default on minimal distros.

However, the same result can be accomplished by calling a shell `eval` command
which will cause the command to be evaluated with all the currently set environment
varialbles considered.
@markstos
Copy link
Contributor Author

Conflicts resolved again after jq dep was dropped.

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