Skip to content

Commit

Permalink
install cilium-helm addon using tilt
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulait committed Feb 13, 2024
1 parent 98b808f commit 4e9e82a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Tiltfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
load("ext://k8s_attach", "k8s_attach")

docker_build("controller", ".", only=("Dockerfile", "Makefile", "vendor","go.mod", "go.sum", "./api", "./cloud","./cmd", "./controller", "./util"))

local_resource(
Expand Down Expand Up @@ -27,3 +29,14 @@ k8s_resource(
"%s:secret" % token_secret_name
]
)

k8s_attach("caaph-controller-manager", "deployment.apps/caaph-controller-manager", namespace="caaph-system")

k8s_yaml("./templates/addons/cilium-helm.yaml")
k8s_resource(
new_name="addon-cilium-helm",
objects=[
"cilium:helmchartproxy"
],
resource_deps=["capi-controller-manager", "cluster-api-provider-linode-controller-manager", "caaph-controller-manager"]
)

0 comments on commit 4e9e82a

Please sign in to comment.