As we use the enterprise solution for production, but building our own testing server for development.
is there a way we can use a configuration solution, something like GitHub - spf13/viper: Go configuration with fangs that will work also in the hosted solution where the image is built automatically so we can’t copy the configuration files?
@oshribin Sure, you can use viper library if you want in your project. By default a cloud builder will copy in CSV, JSON, YML, XML, and a number of other common file formats from the source repo into the final container image. You can then use the nk.ReadFile(string)
function to read the contents of the file.
1 Like