Skip to content

Commit c166776

Browse files
authored
Merge pull request #666 from prankul88/tilt-support
✨ Add support for Tilt
2 parents 4f34a1a + d8663e1 commit c166776

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,6 @@ zz_generated.openapi.go
163163

164164
# binaries
165165
/bin
166+
167+
#Tilt files.
168+
.tiltbuild

docs/development.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,4 @@ After generating `provider-components.yaml`, replace the `us.gcr.io/k8s-artifact
4141

4242
## Developing with Tilt
4343

44-
For rapid development it's recommended to use [Tilt](https://tilt.dev/). An example for a development environment
45-
setup with Tilt can be found in [sbueringer/capi-dev](https://github.com/sbueringer/capi-dev).
44+
We have support for using [Tilt](https://tilt.dev/) for rapid iterative development. Please visit the [Cluster API documentation on Tilt](https://master.cluster-api.sigs.k8s.io/developer/tilt.html) for information on how to set up your development environment.

tilt-provider.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "openstack",
3+
"config": {
4+
"image": "gcr.io/k8s-staging-capi-openstack/capi-openstack-controller-amd64",
5+
"live_reload_deps": [
6+
"main.go",
7+
"go.mod",
8+
"go.sum",
9+
"api",
10+
"config",
11+
"controllers",
12+
"pkg"
13+
]
14+
}
15+
}

0 commit comments

Comments
 (0)