diff --git a/src/Makefile.mk b/src/Makefile.mk index 15fb9ae98..781747762 100644 --- a/src/Makefile.mk +++ b/src/Makefile.mk @@ -288,7 +288,7 @@ kubectl-apply: # NOTE be very careful about these 2 labels as getting them wrong can remove stuff in you cluster! kubectl apply $(KUBECTL_APPLY_FLAGS) --prune -l=gitops.jenkins-x.io/pipeline=customresourcedefinitions -R -f $(OUTPUT_DIR)/customresourcedefinitions - kubectl apply $(KUBECTL_APPLY_FLAGS) --prune -l=gitops.jenkins-x.io/pipeline=cluster -R -f $(OUTPUT_DIR)/cluster + kubectl apply $(KUBECTL_APPLY_FLAGS) -l=gitops.jenkins-x.io/pipeline=cluster -R -f $(OUTPUT_DIR)/cluster kubectl apply $(KUBECTL_APPLY_FLAGS) --prune -l=gitops.jenkins-x.io/pipeline=namespaces -R -f $(OUTPUT_DIR)/namespaces # lets apply any infrastructure specific labels or annotations to enable IAM roles on ServiceAccounts etc