Skip to content

Commit

Permalink
Add clusterctl build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
dippynark committed Mar 15, 2020
1 parent b0803e0 commit 51f248f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ bin

# Release manifests
/release/infrastructure-components.yaml

# Temporary cluster-api clone for building clusterctl
# TODO: remove this when the GCP auth provider is supported
#https://github.com/kubernetes-sigs/cluster-api/pull/2684
/cluster-api/
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ kubectl apply -f hack/forward-ipencap.yaml
### Installation

```sh
# Install clusterctl
# https://github.com/kubernetes-sigs/cluster-api/pull/2684
git clone --single-branch --branch add-gcp-auth-provider-support https://github.com/dippynark/cluster-api
cd cluster-api
go build -ldflags "$(hack/version.sh)" -o bin/clusterctl ./cmd/clusterctl
export PATH=$PWD/bin:$PATH

# Add the Kubernetes infrastructure provider
mkdir -p $HOME/.cluster-api
cat > $HOME/.cluster-api/clusterctl.yaml <<EOF
Expand Down

0 comments on commit 51f248f

Please sign in to comment.