From 065e130b3786f2c3c331e72d1d50b706a70fcb5b Mon Sep 17 00:00:00 2001 From: Paul Morie Date: Wed, 20 May 2020 10:13:44 -0400 Subject: [PATCH] Fix some missed invocations of kubectl --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ededf8648..a3e83af74 100644 --- a/Makefile +++ b/Makefile @@ -40,11 +40,11 @@ clean: deploy-hub: ensure-kustomize cp deploy/hub/kustomization.yaml deploy/hub/kustomization.yaml.tmp cd deploy/hub && ../../$(KUSTOMIZE) edit set image quay.io/open-cluster-management/registration:latest=$(IMAGE_NAME) - $(KUSTOMIZE) build deploy/hub | kubectl apply -f - + $(KUSTOMIZE) build deploy/hub | $(KUBECTL) apply -f - mv deploy/hub/kustomization.yaml.tmp deploy/hub/kustomization.yaml cluster-ip: - CLUSTER_IP?=$(shell kubectl get svc kubernetes -n default -o jsonpath="{.spec.clusterIP}") + CLUSTER_IP?=$(shell $(KUBECTL) get svc kubernetes -n default -o jsonpath="{.spec.clusterIP}") bootstrap-secret: cluster-ip cp $(KUBECONFIG) dev-kubeconfig @@ -60,7 +60,7 @@ e2e-bootstrap-secret: cluster-ip deploy-spoke: ensure-kustomize cp deploy/spoke/kustomization.yaml deploy/spoke/kustomization.yaml.tmp cd deploy/spoke && ../../$(KUSTOMIZE) edit set image quay.io/open-cluster-management/registration:latest=$(IMAGE_NAME) - $(KUSTOMIZE) build deploy/spoke | kubectl apply -f - + $(KUSTOMIZE) build deploy/spoke | $(KUBECTL) apply -f - mv deploy/spoke/kustomization.yaml.tmp deploy/spoke/kustomization.yaml deploy-all: deploy-hub bootstrap-secret deploy-spoke