Skip to content

Commit

Permalink
Merge pull request #995 from devigned/fix-tilt
Browse files Browse the repository at this point in the history
add a capi webhook wait to fix kubectl apply error upon startup of tilt
  • Loading branch information
k8s-ci-robot authored Oct 14, 2020
2 parents 4b2fdbc + 0d68b3d commit 3da52a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ def calico_crs():
local("kubectl create configmap calico-addon --from-file=templates/addons/calico.yaml")
local("kubectl delete configmaps calico-ipv6-addon --ignore-not-found=true")
local("kubectl create configmap calico-ipv6-addon --from-file=templates/addons/calico-ipv6.yaml")
local("kubectl wait --for=condition=Available --timeout=300s -n capi-webhook-system deployment/capi-controller-manager")
local("kubectl apply -f templates/addons/calico-resource-set.yaml")

# run worker clusters specified from 'tilt up' or in 'tilt_config.json'
Expand Down

0 comments on commit 3da52a3

Please sign in to comment.