This repository was archived by the owner on Mar 8, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Go
2- secrethub-proxy
2+ secrethub-http- proxy
33* .exe
44* .exe~
55* .dll
Original file line number Diff line number Diff line change 1- project_name : secrethub-proxy
2-
31builds :
4- - binary : " {{ .ProjectName }} "
5- main : ./cmd/secrethub-proxy/main.go
2+ - binary : secrethub-http-proxy
3+ main : ./cmd/secrethub-http- proxy/main.go
64 env :
75 - CGO_ENABLED=0
86 goos :
@@ -26,7 +24,7 @@ dockers:
2624 goos : linux
2725 goarch : amd64
2826 binaries :
29- - secrethub-proxy
27+ - secrethub-http- proxy
3028 image_templates :
31- - " secrethubio/ proxy:{{ .Version }}"
32- - " secrethubio/ proxy:latest"
29+ - " secrethub/http- proxy:{{ .Version }}"
30+ - " secrethub/http- proxy:latest"
Original file line number Diff line number Diff line change 11FROM alpine
22
3- COPY secrethub-proxy /usr/bin/secrethub-proxy
3+ COPY secrethub-http- proxy /usr/bin/secrethub-http -proxy
44RUN apk add --no-cache ca-certificates && update-ca-certificates
55
66EXPOSE 8080
77
8- CMD secrethub-proxy -C ${SECRETHUB_CREDENTIAL:-$(cat /secrethub/credential)} -P ${SECRETHUB_CREDENTIAL_PASSPHRASE} -h 0.0.0.0 -p 8080
8+ CMD secrethub-http- proxy -C ${SECRETHUB_CREDENTIAL:-$(cat /secrethub/credential)} -P ${SECRETHUB_CREDENTIAL_PASSPHRASE} -h 0.0.0.0 -p 8080
Original file line number Diff line number Diff line change 11build :
2- go build ./cmd/secrethub-proxy
2+ go build ./cmd/secrethub-http- proxy
Original file line number Diff line number Diff line change 88 "os/signal"
99 "syscall"
1010
11- "github.com/keylockerbv/secrethub-proxy/pkg/restproxy"
11+ "github.com/keylockerbv/secrethub-http- proxy/pkg/restproxy"
1212 "github.com/secrethub/secrethub-go/pkg/secrethub"
1313)
1414
@@ -67,10 +67,10 @@ func gracefulShutdown(proxy restproxy.ClientProxy) {
6767}
6868
6969func exit (err error ) {
70- fmt .Printf ("secrethub-proxy: error: %v\n " , err )
70+ fmt .Printf ("secrethub-http- proxy: error: %v\n " , err )
7171 os .Exit (1 )
7272}
7373
7474func log (message string ) {
75- fmt .Printf ("secrethub-proxy: %v\n " , message )
75+ fmt .Printf ("secrethub-http- proxy: %v\n " , message )
7676}
Original file line number Diff line number Diff line change 1- module github.com/keylockerbv/secrethub-proxy
1+ module github.com/keylockerbv/secrethub-http- proxy
22
33require (
44 github.com/gorilla/mux v1.7.0
You can’t perform that action at this time.
0 commit comments