Skip to content

Commit

Permalink
rebase to go mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Hermsi1337 committed Mar 29, 2019
1 parent 0b2d4ed commit 44874d5
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 273 deletions.
22 changes: 10 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM golang:1.11

COPY . /go/src/github.com/mittwald/kubernetes-secret-generator
WORKDIR /go/src/github.com/mittwald/kubernetes-secret-generator
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o kubernetes-secret-generator

FROM scratch
MAINTAINER Martin Helmich <[email protected]>

COPY --from=0 /go/src/github.com/mittwald/kubernetes-secret-generator/kubernetes-secret-generator /kubernetes-secret-generator

CMD ["/kubernetes-secret-generator", "-logtostderr"]
FROM golang:1.12
WORKDIR /src
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o kubernetes-secret-generator

FROM scratch
LABEL MAINTAINER="Martin Helmich <[email protected]>"
COPY --from=0 /src/kubernetes-secret-generator /kubernetes-secret-generator
ENTRYPOINT ["/kubernetes-secret-generator"]
CMD ["-logtostderr"]
256 changes: 0 additions & 256 deletions glide.lock

This file was deleted.

5 changes: 0 additions & 5 deletions glide.yaml

This file was deleted.

43 changes: 43 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
module github.com/mittwald/kubernetes-secret-generator

go 1.12

require (
cloud.google.com/go v0.0.0-20160913182117-3b1ae45394a2
github.com/PuerkitoBio/purell v1.0.0
github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2
github.com/blang/semver v3.0.1+incompatible
github.com/coreos/go-oidc v0.0.0-20160818215358-5644a2f50e2d
github.com/coreos/pkg v0.0.0-20160620232715-fa29b1d70f0b
github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2
github.com/docker/distribution v2.7.1+incompatible
github.com/emicklei/go-restful v0.0.0-20160814184150-89ef8af493ab
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680
github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1
github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9
github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501
github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87
github.com/gogo/protobuf v0.0.0-20160718161353-e18d7aa8f8c6
github.com/golang/glog v0.0.0-20141105023935-44145f04b68c
github.com/golang/protobuf v0.0.0-20160608215545-8616e8ee5e20
github.com/google/gofuzz v0.0.0-20150304233714-bbcb9da2d746
github.com/howeyc/gopass v0.0.0-20160826175423-3ca23474a7c7
github.com/imdario/mergo v0.0.0-20141206190957-6633656539c1
github.com/jonboulle/clockwork v0.0.0-20141017032234-72f9bd7c4e0c
github.com/juju/ratelimit v0.0.0-20151125201925-77ed1c8a0121
github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
github.com/opencontainers/image-spec v1.0.1 // indirect
github.com/pborman/uuid v0.0.0-20150603214016-ca53cad383ca
github.com/spf13/pflag v0.0.0-20161024131444-5ccb023bc27d
github.com/ugorji/go v0.0.0-20151028022000-f1f1a805ed36
golang.org/x/crypto v0.0.0-20160126184038-1f22c0103821
golang.org/x/net v0.0.0-20160715184138-e90d6d0afc4c
golang.org/x/oauth2 v0.0.0-20160902055913-3c3a985cb79f
golang.org/x/sys v0.0.0-20160916181909-8f0908ab3b24
golang.org/x/text v0.0.0-20160726164857-2910a502d2bf
google.golang.org/appengine v0.0.0-20160823001527-4f7eeb5305a4
gopkg.in/inf.v0 v0.9.0
gopkg.in/yaml.v2 v2.0.0-20150924142314-53feefa2559f
k8s.io/client-go v2.0.0+incompatible
)
Loading

0 comments on commit 44874d5

Please sign in to comment.