Skip to content

Commit

Permalink
Update source API to v0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Aug 20, 2020
1 parent 16cac58 commit 05ef98d
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 281 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.13 as builder
FROM golang:1.15 as builder

WORKDIR /workspace

Expand All @@ -11,7 +11,6 @@ RUN go mod download

# copy source code
COPY main.go main.go
COPY api/ api/
COPY controllers/ controllers/

# build
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

# Image URL to use all building/pushing image targets
IMG ?= controller:latest
# Produce CRDs that work back to Kubernetes 1.13
CRD_OPTIONS ?= "crd"
# Produce CRDs that work back to Kubernetes 1.16
CRD_OPTIONS ?= crd:crdVersions=v1

# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
Expand Down Expand Up @@ -71,7 +71,7 @@ ifeq (, $(shell which controller-gen))
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
cd $$CONTROLLER_GEN_TMP_DIR ;\
go mod init tmp ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.2.5 ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.3.0 ;\
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
}
CONTROLLER_GEN=$(GOBIN)/controller-gen
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module github.com/stefanprodan/source-watcher

go 1.13
go 1.15

require (
github.com/fluxcd/pkg v0.0.3
github.com/fluxcd/source-controller v0.0.7
github.com/fluxcd/pkg/untar v0.0.5
github.com/fluxcd/source-controller/api v0.0.9
github.com/go-logr/logr v0.1.0
go.uber.org/zap v1.10.0
go.uber.org/zap v1.13.0
k8s.io/apimachinery v0.18.4
k8s.io/client-go v0.18.4
sigs.k8s.io/controller-runtime v0.6.1
Expand Down
Loading

0 comments on commit 05ef98d

Please sign in to comment.