From 8fe7616bae24e4e01e1ae331a47fe82401bc262d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Tue, 3 Oct 2017 15:08:16 +0200 Subject: [PATCH] Updated makefiles from senpy --- k8s.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/k8s.mk b/k8s.mk index e380a8c..a493b4a 100644 --- a/k8s.mk +++ b/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 | envsubst | $(KUBECTL) apply -f - + @ls k8s/*.yaml k8s/*.yml k8s/*.tmpl 2>/dev/null || true + @cat k8s/*.yaml k8s/*.yml k8s/*.tmpl 2>/dev/null | envsubst | $(KUBECTL) apply -f - deploy-check: ## Get the deployed configuration. @$(KUBECTL) get deploy,pods,svc,ingress