Skip to content

Instantly share code, notes, and snippets.

@ncdc
Created December 5, 2019 18:01
Show Gist options
  • Save ncdc/6715f9e28441c1753803e1f45556d923 to your computer and use it in GitHub Desktop.
Save ncdc/6715f9e28441c1753803e1f45556d923 to your computer and use it in GitHub Desktop.
diff --git a/Tiltfile b/Tiltfile
index 47ebab4..5aeee6e 100644
--- a/Tiltfile
+++ b/Tiltfile
@@ -1,6 +1,6 @@
# -*- mode: Python -*-
-allow_k8s_contexts('kubernetes-admin@kubernetes')
+allow_k8s_contexts(['kubernetes-admin@kubernetes', 'kind-kind'])
# global settings
settings = read_json('config.json', default={})
@@ -56,10 +56,11 @@ if provider == AWS:
local(command)
# First, the cert-manager and CRDs
-local('kubectl apply -f ./cluster-api/config/certmanager/cert-manager.yaml')
+#local('kubectl apply -f ./cluster-api/config/certmanager/cert-manager.yaml')
+local('kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v0.11.0/cert-manager.yaml')
# wait for the service to become available
-local('kubectl wait --for=condition=Available --timeout=300s apiservice v1beta1.webhook.certmanager.k8s.io')
+local('kubectl wait --for=condition=Available --timeout=300s apiservice v1beta1.webhook.cert-manager.io')
# Second, install cluster api manager & CRDs
k8s_yaml(kustomize('./cluster-api/config/default'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment