Skip to content

Commit 6c9d018

Browse files
bengentilsmira
authored andcommitted
feat: add Tilt support
This adds the support for Tilt, as described in: https://cluster-api.sigs.k8s.io/developer/tilt.html#tilt-provider-configuration Signed-off-by: Benjamin Gentil <[email protected]> Signed-off-by: Andrey Smirnov <[email protected]>
1 parent 376eb01 commit 6c9d018

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ talosctl
2828
talosconfig
2929
kubeconfig
3030
coverage.txt
31+
32+
# Tilt build files
33+
.tiltbuild

config/manager/kustomization.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
resources:
22
- manager.yaml
3+
images:
4+
- name: controller
5+
newName: ghcr.io/siderolabs/cluster-api-talos-controller

tilt-provider.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "talos-bootstrap",
3+
"config": {
4+
"image": "ghcr.io/siderolabs/cluster-api-talos-controller",
5+
"live_reload_deps": [
6+
"main.go",
7+
"go.mod",
8+
"go.sum",
9+
"api",
10+
"config",
11+
"controllers",
12+
"internal",
13+
"pkg"
14+
],
15+
"label": "CABPT"
16+
}
17+
}

0 commit comments

Comments
 (0)