-
Notifications
You must be signed in to change notification settings - Fork 3
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
Embed the HAProxy template file in the agent binary #14
Comments
I agree. |
I do not know if also |
I actually commented about the |
If these templates do not need to be modified at deployment time for any reason, yes it makes sense to embed. |
Yes, that is the point. I'm thinking if there is a need to change the template after deployment. In any case, the default templates should be embedded to provide some defaults. |
Currently in the agent configuration
dfaasagent.env
there are two keys that are always fixed with the same value in every file I found:dfaas/dfaasagent.env
Lines 20 to 21 in 3a9fc2b
These two file paths are the same in every configuration file, which means that the agent expects the same file and they are mandatory. To simplify the configuration file and reduce the number of unnecessary keys, we could embed these files into the binary using the Go embed package.
The text was updated successfully, but these errors were encountered: