Created
December 5, 2019 18:01
-
-
Save ncdc/6715f9e28441c1753803e1f45556d923 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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