use namespace in kustomize apply
This commit is contained in:
parent
86a3dc07f5
commit
1ae475f946
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue