-
Notifications
You must be signed in to change notification settings - Fork 76
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: Shubham Bajpai <[email protected]>
- Loading branch information
1 parent
b17b4f0
commit a0d4136
Showing
17 changed files
with
499 additions
and
277 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 |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16 | ||
go-version: 1.17 | ||
|
||
- name: build agent | ||
run: make host-agent-binaries | ||
|
@@ -38,7 +38,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16 | ||
go-version: 1.17 | ||
|
||
- name: Install ginkgo | ||
run: go get github.com/onsi/ginkgo/[email protected] | ||
|
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
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16 | ||
go-version: 1.17 | ||
|
||
- name: Install ginkgo | ||
run: go get github.com/onsi/ginkgo/[email protected] | ||
|
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
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
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ STAGING_REGISTRY ?= gcr.io/k8s-staging-cluster-api | |
|
||
IMAGE_NAME ?= cluster-api-byoh-controller | ||
TAG ?= dev | ||
ARCH ?= $(shell go env GOARCH) | ||
RELEASE_DIR := _dist | ||
|
||
# Image URL to use all building/pushing image targets | ||
|
@@ -200,7 +201,7 @@ kustomize: ## Download kustomize locally if necessary. | |
$(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/[email protected]) | ||
|
||
host-agent-binaries: ## Builds the binaries for the host-agent | ||
RELEASE_BINARY=./byoh-hostagent GOOS=linux GOARCH=amd64 GOLDFLAGS="$(LDFLAGS) $(STATIC)" \ | ||
RELEASE_BINARY=./byoh-hostagent GOOS=linux GOARCH=${ARCH} GOLDFLAGS="$(LDFLAGS) $(STATIC)" \ | ||
HOST_AGENT_DIR=./$(HOST_AGENT_DIR) $(MAKE) host-agent-binary | ||
|
||
host-agent-binary: $(RELEASE_DIR) | ||
|
@@ -211,7 +212,7 @@ host-agent-binary: $(RELEASE_DIR) | |
-e GOARCH=$(GOARCH) \ | ||
-v "$$(pwd):/workspace$(DOCKER_VOL_OPTS)" \ | ||
-w /workspace \ | ||
golang:1.16.6 \ | ||
golang:1.17.8 \ | ||
go build -a -ldflags "$(GOLDFLAGS)" \ | ||
-o ./bin/$(notdir $(RELEASE_BINARY))-$(GOOS)-$(GOARCH) $(HOST_AGENT_DIR) | ||
|
||
|
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,36 +1,191 @@ | ||
module github.com/vmware-tanzu/cluster-api-provider-bringyourownhost | ||
|
||
go 1.16 | ||
go 1.17 | ||
|
||
replace sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.0.4 | ||
replace sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.1.3 | ||
|
||
require ( | ||
github.com/containerd/containerd v1.5.10 // indirect | ||
github.com/cppforlife/go-cli-ui v0.0.0-20200716203538-1e47f820817f | ||
github.com/docker/cli v20.10.14+incompatible | ||
github.com/docker/docker v20.10.14+incompatible | ||
github.com/docker/docker-credential-helpers v0.6.4 // indirect | ||
github.com/go-logr/logr v0.4.0 | ||
github.com/go-logr/logr v1.2.0 | ||
github.com/jackpal/gateway v1.0.7 | ||
github.com/k14s/imgpkg v0.18.0 | ||
github.com/kube-vip/kube-vip v0.3.8 | ||
github.com/k14s/imgpkg v0.21.0 | ||
github.com/kube-vip/kube-vip v0.4.1 | ||
github.com/maxbrunsfeld/counterfeiter/v6 v6.5.0 | ||
github.com/moby/sys/mount v0.2.0 // indirect | ||
github.com/onsi/ginkgo v1.16.5 | ||
github.com/onsi/gomega v1.19.0 | ||
github.com/opencontainers/runc v1.0.3 // indirect | ||
github.com/pkg/errors v0.9.1 | ||
github.com/spf13/pflag v1.0.5 | ||
github.com/theupdateframework/notary v0.7.0 // indirect | ||
k8s.io/api v0.22.2 | ||
k8s.io/apimachinery v0.22.2 | ||
k8s.io/client-go v0.22.2 | ||
k8s.io/component-base v0.22.2 | ||
k8s.io/klog v1.0.0 | ||
k8s.io/kubectl v0.22.2 | ||
k8s.io/api v0.23.0 | ||
k8s.io/apimachinery v0.23.0 | ||
k8s.io/client-go v0.23.0 | ||
k8s.io/component-base v0.23.0 | ||
k8s.io/klog/v2 v2.60.1 | ||
k8s.io/kubectl v0.23.0 | ||
k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b | ||
sigs.k8s.io/cluster-api v1.0.4 | ||
sigs.k8s.io/cluster-api/test v1.0.4 | ||
sigs.k8s.io/controller-runtime v0.10.3 | ||
sigs.k8s.io/cluster-api v1.1.3 | ||
sigs.k8s.io/cluster-api/test v1.1.3 | ||
sigs.k8s.io/controller-runtime v0.11.1 | ||
sigs.k8s.io/yaml v1.3.0 | ||
) | ||
|
||
require ( | ||
cloud.google.com/go v0.99.0 // indirect | ||
github.com/Azure/azure-sdk-for-go v43.0.0+incompatible // indirect | ||
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect | ||
github.com/Azure/go-autorest v14.2.0+incompatible // indirect | ||
github.com/Azure/go-autorest/autorest v0.11.18 // indirect | ||
github.com/Azure/go-autorest/autorest/adal v0.9.13 // indirect | ||
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect | ||
github.com/Azure/go-autorest/autorest/to v0.3.0 // indirect | ||
github.com/Azure/go-autorest/autorest/validation v0.1.0 // indirect | ||
github.com/Azure/go-autorest/logger v0.2.1 // indirect | ||
github.com/Azure/go-autorest/tracing v0.6.0 // indirect | ||
github.com/BurntSushi/toml v0.4.1 // indirect | ||
github.com/MakeNowJust/heredoc v1.0.0 // indirect | ||
github.com/Masterminds/goutils v1.1.1 // indirect | ||
github.com/Masterminds/semver/v3 v3.1.1 // indirect | ||
github.com/Masterminds/sprig/v3 v3.2.2 // indirect | ||
github.com/Microsoft/go-winio v0.5.0 // indirect | ||
github.com/Microsoft/hcsshim v0.8.23 // indirect | ||
github.com/PuerkitoBio/purell v1.1.1 // indirect | ||
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect | ||
github.com/alessio/shellescape v1.4.1 // indirect | ||
github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e // indirect | ||
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect | ||
github.com/aws/aws-sdk-go v1.35.24 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/blang/semver v3.5.1+incompatible // indirect | ||
github.com/cespare/xxhash/v2 v2.1.2 // indirect | ||
github.com/cheggaaa/pb v1.0.29 // indirect | ||
github.com/containerd/cgroups v1.0.1 // indirect | ||
github.com/containerd/containerd v1.5.10 // indirect | ||
github.com/containerd/stargz-snapshotter/estargz v0.7.0 // indirect | ||
github.com/coredns/caddy v1.1.0 // indirect | ||
github.com/coredns/corefile-migration v1.0.14 // indirect | ||
github.com/cppforlife/cobrautil v0.0.0-20200514214827-bb86e6965d72 // indirect | ||
github.com/cppforlife/color v1.9.1-0.20200716202919-6706ac40b835 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/docker/distribution v2.7.1+incompatible // indirect | ||
github.com/docker/docker-credential-helpers v0.6.4 // indirect | ||
github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c // indirect | ||
github.com/docker/go-connections v0.4.0 // indirect | ||
github.com/docker/go-metrics v0.0.1 // indirect | ||
github.com/docker/go-units v0.4.0 // indirect | ||
github.com/drone/envsubst/v2 v2.0.0-20210730161058-179042472c46 // indirect | ||
github.com/evanphx/json-patch v4.12.0+incompatible // indirect | ||
github.com/evanphx/json-patch/v5 v5.6.0 // indirect | ||
github.com/form3tech-oss/jwt-go v3.2.3+incompatible // indirect | ||
github.com/fsnotify/fsnotify v1.5.1 // indirect | ||
github.com/fvbommel/sortorder v1.0.1 // indirect | ||
github.com/go-logr/zapr v1.2.0 // indirect | ||
github.com/go-openapi/jsonpointer v0.19.5 // indirect | ||
github.com/go-openapi/jsonreference v0.19.5 // indirect | ||
github.com/go-openapi/swag v0.19.14 // indirect | ||
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect | ||
github.com/gobuffalo/flect v0.2.4 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/golang/snappy v0.0.3 // indirect | ||
github.com/google/cel-go v0.9.0 // indirect | ||
github.com/google/go-cmp v0.5.6 // indirect | ||
github.com/google/go-containerregistry v0.6.0 // indirect | ||
github.com/google/go-github/v33 v33.0.0 // indirect | ||
github.com/google/go-querystring v1.0.0 // indirect | ||
github.com/google/gofuzz v1.2.0 // indirect | ||
github.com/google/uuid v1.3.0 // indirect | ||
github.com/googleapis/gnostic v0.5.5 // indirect | ||
github.com/gorilla/mux v1.8.0 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/huandu/xstrings v1.3.2 // indirect | ||
github.com/imdario/mergo v0.3.12 // indirect | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/insomniacslk/dhcp v0.0.0-20211214070828-5297eed8f489 // indirect | ||
github.com/jmespath/go-jmespath v0.4.0 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/jpillora/backoff v1.0.0 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/klauspost/compress v1.13.0 // indirect | ||
github.com/magiconair/properties v1.8.5 // indirect | ||
github.com/mailru/easyjson v0.7.6 // indirect | ||
github.com/mattn/go-colorable v0.1.12 // indirect | ||
github.com/mattn/go-isatty v0.0.14 // indirect | ||
github.com/mattn/go-runewidth v0.0.13 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect | ||
github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7 // indirect | ||
github.com/mdlayher/ndp v0.0.0-20210831201139-f982b8766fb5 // indirect | ||
github.com/mdlayher/raw v0.0.0-20211126142749-4eae47f3d54b // indirect | ||
github.com/miekg/pkcs11 v1.0.3 // indirect | ||
github.com/mitchellh/copystructure v1.2.0 // indirect | ||
github.com/mitchellh/mapstructure v1.4.3 // indirect | ||
github.com/mitchellh/reflectwalk v1.0.2 // indirect | ||
github.com/moby/sys/mount v0.2.0 // indirect | ||
github.com/moby/sys/mountinfo v0.4.1 // indirect | ||
github.com/moby/term v0.0.0-20210610120745-9d4ed1856297 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/morikuni/aec v1.0.0 // indirect | ||
github.com/nxadm/tail v1.4.8 // indirect | ||
github.com/opencontainers/go-digest v1.0.0 // indirect | ||
github.com/opencontainers/image-spec v1.0.2 // indirect | ||
github.com/opencontainers/runc v1.0.3 // indirect | ||
github.com/pelletier/go-toml v1.9.4 // indirect | ||
github.com/prometheus/client_golang v1.11.0 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/common v0.28.0 // indirect | ||
github.com/prometheus/procfs v0.6.0 // indirect | ||
github.com/rivo/uniseg v0.2.0 // indirect | ||
github.com/shopspring/decimal v1.2.0 // indirect | ||
github.com/sirupsen/logrus v1.8.1 // indirect | ||
github.com/spf13/afero v1.6.0 // indirect | ||
github.com/spf13/cast v1.4.1 // indirect | ||
github.com/spf13/cobra v1.3.0 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/spf13/viper v1.10.0 // indirect | ||
github.com/stoewer/go-strcase v1.2.0 // indirect | ||
github.com/subosito/gotenv v1.2.0 // indirect | ||
github.com/theupdateframework/notary v0.7.0 // indirect | ||
github.com/u-root/uio v0.0.0-20210528114334-82958018845c // indirect | ||
github.com/valyala/fastjson v1.6.3 // indirect | ||
github.com/vdemeester/k8s-pkg-credentialprovider v1.21.0-1 // indirect | ||
github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5 // indirect | ||
github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74 // indirect | ||
github.com/vito/go-interact v0.0.0-20171111012221-fa338ed9e9ec // indirect | ||
gitlab.com/golang-commonmark/puny v0.0.0-20191124015043-9f83538fa04f // indirect | ||
go.opencensus.io v0.23.0 // indirect | ||
go.uber.org/atomic v1.7.0 // indirect | ||
go.uber.org/multierr v1.6.0 // indirect | ||
go.uber.org/zap v1.19.1 // indirect | ||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect | ||
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 // indirect | ||
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect | ||
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect | ||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect | ||
golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86 // indirect | ||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect | ||
golang.org/x/tools v0.1.10 // indirect | ||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect | ||
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa // indirect | ||
google.golang.org/grpc v1.42.0 // indirect | ||
google.golang.org/protobuf v1.27.1 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/ini.v1 v1.66.2 // indirect | ||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect | ||
k8s.io/apiextensions-apiserver v0.23.0 // indirect | ||
k8s.io/apiserver v0.23.0 // indirect | ||
k8s.io/cloud-provider v0.21.0 // indirect | ||
k8s.io/cluster-bootstrap v0.23.0 // indirect | ||
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect | ||
k8s.io/legacy-cloud-providers v0.21.0 // indirect | ||
sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 // indirect | ||
sigs.k8s.io/kind v0.11.1 // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.2.0 // indirect | ||
) |
Oops, something went wrong.