File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -54,21 +54,21 @@ run: generate fmt vet manifests install-configmap-sidecars install-crd-cwnp
54
54
55
55
# Install CRDs into a cluster
56
56
install : manifests
57
- kustomize build config/crd | kubectl --kubeconfig kubeconfig apply -f -
57
+ kubectl kustomize config/crd | kubectl --kubeconfig kubeconfig apply -f -
58
58
59
59
# Uninstall CRDs from a cluster
60
60
uninstall : manifests
61
- kustomize build config/crd | kubectl --kubeconfig kubeconfig delete -f -
61
+ kubectl kustomize config/crd | kubectl --kubeconfig kubeconfig delete -f -
62
62
63
63
# Deploy controller in the configured Kubernetes cluster in ~/.kube/config
64
64
deploy : install-crd-cwnp manifests secret kind-load-image
65
- cd config/manager && kustomize edit set image controller=${IMG} :${VERSION}
66
- kustomize build config/default | kubectl apply -f -
65
+ cd config/manager && kubectl kustomize edit set image controller=${IMG} :${VERSION}
66
+ kubectl kustomize config/default | kubectl apply -f -
67
67
68
68
# clean up deployed resources in the configured Kubernetes cluster in ~/.kube/config
69
69
cleanup : manifests
70
- cd config/manager && kustomize edit set image controller=${IMG} :${VERSION}
71
- kustomize build config/default | kubectl delete -f -
70
+ cd config/manager && kubectl kustomize edit set image controller=${IMG} :${VERSION}
71
+ kubectl kustomize config/default | kubectl delete -f -
72
72
73
73
# Generate manifests e.g. CRD, RBAC etc.
74
74
manifests : controller-gen
You can’t perform that action at this time.
0 commit comments