-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Pedro Tôrres <t0rr3sp3dr0@gmail.com>
- Loading branch information
1 parent
0426f39
commit d713353
Showing
4 changed files
with
483 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM golang:1.12-alpine | ||
WORKDIR /go/src/github.com/inloco/sops-kustomize-generator-plugin | ||
COPY . . | ||
ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on | ||
RUN apk add git && \ | ||
go get -d -v ./... && \ | ||
go install -a -installsuffix cgo -ldflags '-extldflags "-static" -s -w' -tags netgo -v ./... | ||
|
||
FROM alpine:3.8 | ||
COPY --from=0 /go/bin/sops-kustomize-generator-plugin /root/.config/kustomize/plugin/inloco.com.br/v1beta1/sops/SOPS | ||
CMD [ "/root/.config/kustomize/plugin/inloco.com.br/v1beta1/sops/SOPS" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module github.com/inloco/sops-kustomize-generator-plugin | ||
|
||
go 1.12 | ||
|
||
require ( | ||
go.mozilla.org/sops v0.0.0-20190912205235-14a22d7a7060 | ||
k8s.io/api v0.0.0-20190925180651-d58b53da08f5 | ||
k8s.io/apimachinery v0.0.0-20190923155427-ec87dd743e08 | ||
sigs.k8s.io/yaml v1.1.0 | ||
) |
Oops, something went wrong.