forked from tnozicka/goenvtemplator
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'td-goenv2-no-conflict'
- Loading branch information
Showing
6 changed files
with
48 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
goenvtemplator (2.0.0~rc2) UNRELEASED; urgency=medium | ||
|
||
* Binary name contains major version (goenvtemplator2). | ||
* No longer breaks goenvtemplator (v1). | ||
* Added make install target. | ||
* Added Depends and Built-Using keys to control file. | ||
|
||
-- Tomas Dohnalek <[email protected]> Tue, 02 May 2017 14:04:34 +0200 | ||
|
||
goenvtemplator (2.0.0~rc1) Seznam; urgency=medium | ||
|
||
* Added Sprig (useful template functions for Go templates) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
doc/goenvtemplator2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.\" Manpage for goenvtemplator2. | ||
.\" Contact [email protected] to correct errors or typos. | ||
.TH man 1 "03 May 2017" "1.0" "goenvtemplator2 man page" | ||
.SH NAME | ||
goenvtemplator2 \- Tool to template configuration files by environment variables and optionaly replace itself with target binary. | ||
.SH SYNOPSIS | ||
goenvtemplator2 [OPTIONS] | ||
|
||
.SH DESCRIPTION | ||
goenvtemplator2 is a simple app, that can template your config files by environment variables and optionally replace itself (by exec syscall) with the application binary. So at the end your application runs directly under the process that run this tool like docker as if it was originally the entrypoint itself. | ||
|
||
.SH OPTIONS | ||
Possible OPTIONS are: | ||
-debug-templates Print processed templates to stdout. | ||
-env-file FILE Additional file with environment variables. Can be | ||
passed multiple times. (default []) | ||
-exec COMMAND ARGS Activates exec by command. First non-flag arguments is | ||
the command, the rest are it's arguments. | ||
-template VALUE Template (/template:/dest). Can be passed multiple | ||
times. (default []) | ||
-v INT Verbosity level. | ||
-version Prints version. | ||
.SH SEE ALSO | ||
envsubst(1), env(1) | ||
.SH BUGS | ||
No known bugs. | ||
.SH AUTHOR | ||
Sklik-Devops ([email protected]) |