about summary refs log tree commit diff
path: root/main.go
AgeCommit message (Collapse)AuthorFilesLines
2017-06-11 fix main: Fix 'kontemplate template' outputVincent Ambo1-4/+7
2017-06-11 refactor main: Call kubectl individually per resource setVincent Ambo1-17/+24
Instead of passing the rendered output of all resource sets to kubectl simultaneously, build upon the previous commit and pass resource sets individually to new instances of kubectl. This resolves #51
2017-05-18 chore: Version bump to 1.0.2Vincent Ambo1-1/+1
2017-05-08 fix main: Print information about kubectl errorsVincent Ambo1-4/+20
2017-05-08 fix main: Exit with kubectl status codeVincent Ambo1-4/+2
If kubectl fails during a kontemplate run, kontemplate should also exit with a non-zero status code. This fixes #43
2017-05-08 feat build: Add ArchLinux PKGBUILDVincent Ambo1-0/+1
2017-05-08 feat main: Add version commandVincent Ambo1-0/+17
Adds a version command that can have the Kontemplate git hash added to it at build time by using the Go linker's -X flag.
2017-05-04 refactor main: Move to Kingpin CLI libraryVincent Ambo1-152/+84
Replace urfave/cli with the kingpin[1] library. It has slightly more sensible argument validation than the other Go libraries. Additionally I've opted for removing the '-f / --file' flag in favour of positional arguments to commands. A previous command like `kontemplate template -f somefile.yml` is now just `kontemplate template somefile.yml`. All other arguments remain the same. [1]: https://github.com/alecthomas/kingpin
2017-04-04 fix main: Don't panic if file is unspecifiedVincent Ambo1-4/+14
Instead of printing a spooky stacktrace when the user forgets to specify the `-f` argument, return an error a lot more gracefully.
2017-02-09 fix main: Add a forgotten error checkVincent Ambo1-1/+5
2017-02-09 feat main: Version bump to v1.0.0-beta1Vincent Ambo1-1/+1
2017-02-08 feat main: Add 'delete' commandVincent Ambo1-0/+22
2017-02-08 feat templater: Add ability to exclude resource setsVincent Ambo1-8/+15
* renamed --limit to --include (-i) * added --exclude (-e) Kontemplate users can now explicitly include and exclude certain resource sets. Excludes always override includes. Closes #11
2017-02-08 feat main: Add replace support & respect context settingVincent Ambo1-22/+53
* Adds support for calling `kubectl replace` (necessary for resource types that do not support `apply`). * Sets `kubectl` context to whatever is defined in the cluster configuration file
2017-02-08 feat main: Add apply commandVincent Ambo1-27/+91
This integrates support for actually calling out to `kubectl apply`. A dry-run flag is implemented, too. The `run` command has been renamed to `template`.
2017-02-08 feat main: Add proper CLI supportVincent Ambo1-19/+53
Adds a basic CLI structure with a single "run" command that takes a --file (-f) and --limit (-l) flag. --limit can be used to only output certain resource sets. Closes #4
2017-02-08 chore: Better example & gofmtVincent Ambo1-3/+3
2017-02-08 feat main: Initial program implementation & exampleVincent Ambo1-0/+39