From 1ae475f946cd5657dee8cd6e5344870762cd4df7 Mon Sep 17 00:00:00 2001 From: Florian Zink Date: Wed, 28 Dec 2022 11:20:33 +0100 Subject: [PATCH] use namespace in kustomize apply --- kustomize.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kustomize.mk b/kustomize.mk index c729221..78e325a 100644 --- a/kustomize.mk +++ b/kustomize.mk @@ -1,4 +1,4 @@ -MANDATORY-kustomize = K8S_CONTEXT KUSTOMIZE_FOLDER +MANDATORY-kustomize = K8S_CONTEXT KUSTOMIZE_FOLDER NAMESPACE # kustomize # # this uses kustomize to install stuff on k8s @@ -17,7 +17,7 @@ endif # actual deployment is happening here @- echo "\n### applying kustomizations" - @ cd $(KUSTOMIZE_FOLDER) && kubectl apply -k . + @ cd $(KUSTOMIZE_FOLDER) && kubectl apply -k . -n $(NAMESPACE) pull-kustomize: # nop