Skip to content

Commit 330d655

Browse files
authored
Merge pull request kubernetes-sigs#573 from CecileRobertMichon/makefile-fixes
Small fixes in Makefile and kind script
2 parents 61ccbe8 + eedc11b commit 330d655

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ create-management-cluster: $(KUSTOMIZE) $(ENVSUBST)
341341
@echo 'Set kubectl context to the kind management cluster by running "kubectl config set-context kind-capz"'
342342

343343
.PHONY: create-workload-cluster
344-
create-workload-cluster: $(KUSTOMIZE) $(ENVSUBST)
344+
create-workload-cluster: $(ENVSUBST)
345345
# Create workload Cluster.
346346
$(ENVSUBST) < $(TEMPLATES_DIR)/$(CLUSTER_TEMPLATE) | kubectl apply -f -
347347

scripts/kind-with-registry.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# limitations under the License.
1515

1616
set -o errexit
17+
set -o nounset
18+
set -o pipefail
1719

1820
# desired cluster name; default is "kind"
1921
KIND_CLUSTER_NAME="${KIND_CLUSTER_NAME:-capz}"

0 commit comments

Comments
 (0)