File tree Expand file tree Collapse file tree 4 files changed +34
-281
lines changed
Expand file tree Collapse file tree 4 files changed +34
-281
lines changed Original file line number Diff line number Diff line change 1- FROM golang:1.13 as builder
1+ FROM golang:1.15 as builder
22
33WORKDIR /workspace
44
@@ -11,7 +11,6 @@ RUN go mod download
1111
1212# copy source code
1313COPY main.go main.go
14- COPY api/ api/
1514COPY controllers/ controllers/
1615
1716# build
Original file line number Diff line number Diff line change 11
22# Image URL to use all building/pushing image targets
33IMG ?= controller:latest
4- # Produce CRDs that work back to Kubernetes 1.13
5- CRD_OPTIONS ?= " crd"
4+ # Produce CRDs that work back to Kubernetes 1.16
5+ CRD_OPTIONS ?= crd:crdVersions=v1
66
77# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
88ifeq (,$(shell go env GOBIN) )
@@ -71,7 +71,7 @@ ifeq (, $(shell which controller-gen))
7171 CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
7272 cd $$CONTROLLER_GEN_TMP_DIR ;\
7373 go mod init tmp ;\
74- go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.2.5 ;\
74+ go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.3.0 ;\
7575 rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
7676 }
7777CONTROLLER_GEN =$(GOBIN ) /controller-gen
Original file line number Diff line number Diff line change 11module github.com/stefanprodan/source-watcher
22
3- go 1.13
3+ go 1.15
44
55require (
6- github.com/fluxcd/pkg v0.0.3
7- github.com/fluxcd/source-controller v0.0.7
6+ github.com/fluxcd/pkg/untar v0.0.5
7+ github.com/fluxcd/source-controller/api v0.0.9
88 github.com/go-logr/logr v0.1.0
9- go.uber.org/zap v1.10 .0
9+ go.uber.org/zap v1.13 .0
1010 k8s.io/apimachinery v0.18.4
1111 k8s.io/client-go v0.18.4
1212 sigs.k8s.io/controller-runtime v0.6.1
You can’t perform that action at this time.
0 commit comments