Skip to content

Commit

Permalink
Merge pull request #129 from linki/client-go-1.12
Browse files Browse the repository at this point in the history
Switch to client-go v12.0.0 with go modules
  • Loading branch information
linki authored Jul 9, 2019
2 parents 38aac23 + 4210531 commit d1267d1
Show file tree
Hide file tree
Showing 6 changed files with 95 additions and 182 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apk --no-cache add git
WORKDIR /go/src/github.com/linki/chaoskube
COPY . .
RUN go test -v ./...
RUN go run main.go --version
ENV GOARCH amd64
RUN go build -o /bin/chaoskube -v \
-ldflags "-X main.version=$(git describe --tags --always --dirty) -w -s"
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.arm32v6
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apk --no-cache add git
WORKDIR /go/src/github.com/linki/chaoskube
COPY . .
RUN go test -v ./...
RUN go run main.go --version
ENV GOARCH arm
RUN go build -o /bin/chaoskube -v \
-ldflags "-X main.version=$(git describe --tags --always --dirty) -w -s"
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.arm64v8
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apk --no-cache add git
WORKDIR /go/src/github.com/linki/chaoskube
COPY . .
RUN go test -v ./...
RUN go run main.go --version
ENV GOARCH arm64
RUN go build -o /bin/chaoskube -v \
-ldflags "-X main.version=$(git describe --tags --always --dirty) -w -s"
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.ppc64le
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apk --no-cache add git
WORKDIR /go/src/github.com/linki/chaoskube
COPY . .
RUN go test -v ./...
RUN go run main.go --version
ENV GOARCH ppc64le
RUN go build -o /bin/chaoskube -v \
-ldflags "-X main.version=$(git describe --tags --always --dirty) -w -s"
Expand Down
44 changes: 8 additions & 36 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,17 @@ module github.com/linki/chaoskube
go 1.12

require (
cloud.google.com/go v0.39.0 // indirect
github.com/Azure/go-autorest v10.15.5+incompatible // indirect
github.com/OneOfOne/xxhash v1.2.5 // indirect
github.com/alecthomas/kingpin v2.2.6+incompatible
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/gogo/protobuf v1.2.1 // indirect
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef // indirect
github.com/google/btree v1.0.0 // indirect
github.com/google/gofuzz v1.0.0 // indirect
github.com/googleapis/gnostic v0.2.0 // indirect
github.com/gophercloud/gophercloud v0.1.0 // indirect
github.com/gregjones/httpcache v0.0.0-20190212212710-3befbb6ad0cc // indirect
github.com/hashicorp/golang-lru v0.5.1 // indirect
github.com/alecthomas/kingpin v0.0.0-20190705085659-95eb9edaa399
github.com/gogo/protobuf v1.2.0 // indirect
github.com/gophercloud/gophercloud v0.2.0 // indirect
github.com/imdario/mergo v0.3.7 // indirect
github.com/json-iterator/go v1.1.6 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
github.com/pkg/errors v0.8.1 // indirect
github.com/prometheus/client_golang v0.9.3
github.com/prometheus/common v0.4.1 // indirect
github.com/prometheus/procfs v0.0.2 // indirect
github.com/prometheus/client_golang v1.0.0
github.com/sirupsen/logrus v1.4.2
github.com/spf13/pflag v1.0.3 // indirect
github.com/stretchr/testify v1.3.0
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5 // indirect
golang.org/x/net v0.0.0-20190603091049-60506f45cf65 // indirect
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 // indirect
golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed // indirect
golang.org/x/text v0.3.2 // indirect
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
google.golang.org/appengine v1.6.0 // indirect
google.golang.org/grpc v1.19.1 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
k8s.io/api v0.0.0-20181128191700-6db15a15d2d3
k8s.io/apimachinery v0.0.0-20190221084156-01f179d85dbc
k8s.io/client-go v9.0.0+incompatible
k8s.io/kube-openapi v0.0.0-20190603182131-db7b694dc208 // indirect
k8s.io/api v0.0.0-20190620084959-7cf5895f2711
k8s.io/apimachinery v0.0.0-20190612205821-1799e75a0719
k8s.io/client-go v0.0.0-20190620085101-78d2af792bab
k8s.io/utils v0.0.0-20190607212802-c55fbcfc754a // indirect
)

replace github.com/golang/glog => github.com/kubermatic/glog-logrus v0.0.0-20180829085450-3fa5b9870d1d
Loading

0 comments on commit d1267d1

Please # to comment.