diff --git a/.gitignore b/.gitignore index b9c60ac..2983f22 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/README.md b/README.md index e1ae145..e6f3dde 100644 --- a/README.md +++ b/README.md @@ -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 <