Skip to content

Commit

Permalink
update tilt
Browse files Browse the repository at this point in the history
  • Loading branch information
mondragonfx committed Aug 19, 2024
1 parent 102bfbc commit e5870cd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def capvultr():
# Set up a local_resource build of the provider's manager binary.
local_resource(
"manager",
cmd = 'mkdir -p .tiltbuild;CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags \'-extldflags "-static"\' -o .tiltbuild/manager',
cmd = 'mkdir -p .tiltbuild;CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags \'-extldflags "-static"\' -o .tiltbuild/manager ./cmd',
deps = ["api", "cloud", "config", "internal", "cmd", "go.mod", "go.sum"]
)

Expand Down
18 changes: 18 additions & 0 deletions tilt-settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"allowed_contexts": [
"kind-capvultr"
],
"default_registry": "sjc.vultrcr.com/dragoncity",
"provider_repos": [
"../cluster-api-provider-vultr"
],
"enable_providers": [
"vultr",
"kubeadm-bootstrap",
"kubeadm-control-plane"
],
"kustomize_substitutions": {
"VULTR_API_KEY": "yourapikey"
}
}

0 comments on commit e5870cd

Please sign in to comment.