Skip to content

Commit

Permalink
feat(plugin): Version 0.0.1
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Tôrres <t0rr3sp3dr0@gmail.com>
  • Loading branch information
t0rr3sp3dr0 committed Oct 3, 2019
1 parent 0426f39 commit d713353
Show file tree
Hide file tree
Showing 4 changed files with 483 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
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" ]
10 changes: 10 additions & 0 deletions go.mod
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
)
Loading

0 comments on commit d713353

Please sign in to comment.