use namespace in kustomize apply

This commit is contained in:
Florian Zink 2022-12-28 11:20:33 +01:00
parent 86a3dc07f5
commit 1ae475f946
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
MANDATORY-kustomize = K8S_CONTEXT KUSTOMIZE_FOLDER MANDATORY-kustomize = K8S_CONTEXT KUSTOMIZE_FOLDER NAMESPACE
# kustomize # kustomize
# #
# this uses kustomize to install stuff on k8s # this uses kustomize to install stuff on k8s
@ -17,7 +17,7 @@ endif
# actual deployment is happening here # actual deployment is happening here
@- echo "\n### applying kustomizations" @- echo "\n### applying kustomizations"
@ cd $(KUSTOMIZE_FOLDER) && kubectl apply -k . @ cd $(KUSTOMIZE_FOLDER) && kubectl apply -k . -n $(NAMESPACE)
pull-kustomize: pull-kustomize:
# nop # nop