Setup
Objective: To setup the repositories that are needed for this tutorial.
- Fork the Cluster API Repo
- Clone the forked Cluster API repo into your GOPATH (i.e.
~/go/src/sigs.k8s.io/cluster-api
) - Create a new repository called
cluster-api-provider-docker
- Clone your new repo into the GOPATH (i.e.
~/go/src/github.com/myname/cluster-api-provider-docker
)
Why clone into the GOPATH? There have been historic issues with code generation tools when they are run outside the go path
- Add the following to the
.gitignore
in your providers repo- .idea/
- .vscode/
- .tiltbuild/
- bin/