Skip to content

Instantly share code, notes, and snippets.

@chuckha
Last active July 26, 2019 16:38
Show Gist options
  • Save chuckha/36285d222b831d9c24f330888652cc99 to your computer and use it in GitHub Desktop.
Save chuckha/36285d222b831d9c24f330888652cc99 to your computer and use it in GitHub Desktop.
tilt file for github.com/kubernetes-sigs/cluster-api-provider-docker
project = str(local('gcloud config get-value project')).strip()
read_file(str(local('which capdctl')).rstrip('\n'))
k8s_yaml(local('capdctl platform -capi-image gcr.io/kubernetes1-226021/cluster-api-controller-amd64:dev -bp-image gcr.io/kubernetes1-226021/cluster-api-bootstrap-provider-kubeadm:dev -bp-ref master'))
docker_build('gcr.io/' + project +'/manager', '.')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment