- shifting the docker image to alpine:3.3
- changing the argument passed to the exec default filename i.e. either file=<FILE> or path.type - fixing up the docker build - shifting to version v0.0.9-2
This commit is contained in:
parent
b128a08f7e
commit
19f6ebfe34
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
/runme.log
|
||||
|
||||
*.iml
|
||||
*.swp
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:latest
|
||||
FROM alpine:3.3
|
||||
MAINTAINER Rohith <gambol99@gmail.com>
|
||||
|
||||
ADD bin/vault-sidekick /vault-sidekick
|
||||
|
|
2
main.go
2
main.go
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
Prog = "vault-sidekick"
|
||||
Version = "v0.0.9-1"
|
||||
Version = "v0.0.9-2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
2
utils.go
2
utils.go
|
@ -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() {
|
||||
|
|
Reference in a new issue