Merge pull request #18 from UKHomeOffice/fixes

- shifting the docker image to alpine:3.3
This commit is contained in:
Rohith 2016-05-03 12:18:16 +01:00
commit 04408a97a7
4 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
/runme.log
*.iml
*.swp

View file

@ -1,4 +1,4 @@
FROM alpine:latest
FROM alpine:3.3
MAINTAINER Rohith <gambol99@gmail.com>
ADD bin/vault-sidekick /vault-sidekick

View file

@ -26,7 +26,7 @@ import (
const (
Prog = "vault-sidekick"
Version = "v0.0.9-1"
Version = "v0.0.9-2"
)
func main() {

View file

@ -194,7 +194,7 @@ func processResource(rn *VaultResource, data map[string]interface{}) (err error)
// step: check if we need to execute a command
if rn.execPath != "" {
glog.V(10).Infof("executing the command: %s for resouce: %s", rn.execPath, rn.path)
glog.V(10).Infof("executing the command: %s for resource: %s", rn.execPath, filename)
cmd := exec.Command(rn.execPath, filename)
cmd.Start()
timer := time.AfterFunc(options.execTimeout, func() {