Skip to content

Commit

Permalink
Merge pull request #7934 from killianmuldoon/pr-docker-tilt
Browse files Browse the repository at this point in the history
📖 Clarify tilt docs for docker provider
  • Loading branch information
k8s-ci-robot committed Jan 16, 2023
2 parents 7167e09 + 92a33c2 commit 314d98e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/book/src/developer/tilt.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,24 @@ kubectl cluster-info --context kind-capi-test

### Create a tilt-settings file

Next, create a `tilt-settings.yaml` file and place it in your local copy of `cluster-api`. Here is an example:
Next, create a `tilt-settings.yaml` file and place it in your local copy of `cluster-api`. Here is an example that uses the components from the CAPI repo:

```yaml
default_registry: gcr.io/your-project-name-here
enable_providers:
- docker
- kubeadm-bootstrap
- kubeadm-control-plane
```
To use tilt to launch a provider with its own repo, using Cluster API Provider AWS here, `tilt-settings.yaml` should look like:

```yaml
default_registry: gcr.io/your-project-name-here
provider_repos:
- ../cluster-api-provider-aws
enable_providers:
- aws
- docker
- kubeadm-bootstrap
- kubeadm-control-plane
```
Expand Down

0 comments on commit 314d98e

Please sign in to comment.