From 8bfb88c9264b78e8d1f63ac46f62c75a8f65c71b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Thu, 28 Sep 2017 10:33:26 +0200 Subject: [PATCH] More fixes to k8s recipe --- .makefiles/k8s.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.makefiles/k8s.mk b/.makefiles/k8s.mk index faf1e0c..bc1ce2d 100644 --- a/.makefiles/k8s.mk +++ b/.makefiles/k8s.mk @@ -42,7 +42,8 @@ info: ## Print variables. Useful for debugging. deploy: ## Deploy to kubernetes using the credentials in KUBE_CA_PEM_FILE (or KUBE_CA_BUNDLE ) and TOKEN - @cat k8s/*.{yaml,yml,tmpl} | envsubst | $(KUBECTL) apply -f - + @ls k8s/ + @cat k8s/*.{yaml,yml,tmpl} 2>/dev/null | envsubst | $(KUBECTL) apply -f - deploy-check: ## Get the deployed configuration. @$(KUBECTL) get deploy,pods,svc,ingress