From 1f27da56c2f0c992cbcd2bf3c23cc85e0ecfef95 Mon Sep 17 00:00:00 2001 From: Nitish Malhotra Date: Mon, 10 May 2021 10:47:05 -0700 Subject: [PATCH 1/3] add --create-namespace flag to tiltfile Signed-off-by: Nitish Malhotra --- Tiltfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tiltfile b/Tiltfile index 511120f0..73bbf7d3 100644 --- a/Tiltfile +++ b/Tiltfile @@ -13,7 +13,7 @@ docker_build( '.', dockerfile='Dockerfile') -yaml = local('helm template --namespace orkestra orkestra chart/orkestra --no-hooks --include-crds') +yaml = local('helm template --namespace orkestra orkestra chart/orkestra --create-namespace --no-hooks --include-crds') k8s_yaml(yaml,allow_duplicates=True) From 729859307e4b4256a43beebf38d18150726ebc28 Mon Sep 17 00:00:00 2001 From: Nitish Malhotra Date: Mon, 10 May 2021 11:28:27 -0700 Subject: [PATCH 2/3] Move create ns to right place Signed-off-by: Nitish Malhotra --- Tiltfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tiltfile b/Tiltfile index 73bbf7d3..b370cb4c 100644 --- a/Tiltfile +++ b/Tiltfile @@ -13,7 +13,7 @@ docker_build( '.', dockerfile='Dockerfile') -yaml = local('helm template --namespace orkestra orkestra chart/orkestra --create-namespace --no-hooks --include-crds') +yaml = local('helm template orkestra chart/orkestra -n orkestra --no-hooks --include-crds') k8s_yaml(yaml,allow_duplicates=True) From 3e6545bda36ebec4e7fe2cc788329f7f43d8ebde Mon Sep 17 00:00:00 2001 From: Nitish Malhotra Date: Mon, 10 May 2021 14:39:57 -0700 Subject: [PATCH 3/3] Use default namespace for tilt Signed-off-by: Nitish Malhotra --- Tiltfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Tiltfile b/Tiltfile index b370cb4c..6a10b3a8 100644 --- a/Tiltfile +++ b/Tiltfile @@ -1,6 +1,3 @@ -load('ext://namespace', 'namespace_yaml') -k8s_yaml(namespace_yaml("orkestra"),allow_duplicates=True) - compile_cmd = 'CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o manager main.go' local_resource( @@ -13,7 +10,7 @@ docker_build( '.', dockerfile='Dockerfile') -yaml = local('helm template orkestra chart/orkestra -n orkestra --no-hooks --include-crds') +yaml = local('helm template orkestra chart/orkestra --no-hooks --include-crds') k8s_yaml(yaml,allow_duplicates=True)