Skip to content

Commit

Permalink
install cilium-helm addon using tilt (#112)
Browse files Browse the repository at this point in the history
Co-authored-by: Rahul Sharma <[email protected]>
  • Loading branch information
rahulait and rahulait authored Feb 13, 2024
1 parent 3b667d6 commit 23fe2df
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 23fe2df

Please sign in to comment.