Skip to content

Commit 8e5e2ab

Browse files
committed
fix: make commands with namespace
1 parent 490b231 commit 8e5e2ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

make/dev.mk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ endif
1212
kind load docker-image --name $(KIND_CLUSTER_NAME) \
1313
ghcr.io/nutanix-cloud-native/caren-helm-reg:$$(gojq -r .version dist/metadata.json)
1414
helm upgrade --install cluster-api-runtime-extensions-nutanix ./charts/cluster-api-runtime-extensions-nutanix \
15+
--create-namespace \
1516
--namespace caren-system \
1617
--set-string image.repository=ko.local/cluster-api-runtime-extensions-nutanix \
1718
--set-string image.tag=$$(gojq -r .version dist/metadata.json) \
1819
--set-string mindthegapImage.tag=$$(gojq -r .version dist/metadata.json) \
1920
--wait --wait-for-jobs
20-
kubectl rollout restart deployment cluster-api-runtime-extensions-nutanix
21-
kubectl rollout status deployment cluster-api-runtime-extensions-nutanix
21+
kubectl rollout restart deployment -n caren-system cluster-api-runtime-extensions-nutanix
22+
kubectl rollout status deployment -n caren-system cluster-api-runtime-extensions-nutanix
2223

2324
.PHONY: dev.update-webhook-image-on-kind
2425
dev.update-webhook-image-on-kind: export KUBECONFIG := $(KIND_KUBECONFIG)

0 commit comments

Comments
 (0)