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