Skip to content

Commit 9b78e1b

Browse files
Merge pull request #290 from cert-manager/self-upgrade-main
[CI] Merge self-upgrade-main into main
2 parents acb3132 + a22d52d commit 9b78e1b

File tree

3 files changed

+23
-15
lines changed

3 files changed

+23
-15
lines changed

klone.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,65 +10,65 @@ targets:
1010
- folder_name: boilerplate
1111
repo_url: https://github.com/cert-manager/makefile-modules.git
1212
repo_ref: main
13-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
13+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
1414
repo_path: modules/boilerplate
1515
- folder_name: cert-manager
1616
repo_url: https://github.com/cert-manager/makefile-modules.git
1717
repo_ref: main
18-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
18+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
1919
repo_path: modules/cert-manager
2020
- folder_name: controller-gen
2121
repo_url: https://github.com/cert-manager/makefile-modules.git
2222
repo_ref: main
23-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
23+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
2424
repo_path: modules/controller-gen
2525
- folder_name: generate-verify
2626
repo_url: https://github.com/cert-manager/makefile-modules.git
2727
repo_ref: main
28-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
28+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
2929
repo_path: modules/generate-verify
3030
- folder_name: go
3131
repo_url: https://github.com/cert-manager/makefile-modules.git
3232
repo_ref: main
33-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
33+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
3434
repo_path: modules/go
3535
- folder_name: helm
3636
repo_url: https://github.com/cert-manager/makefile-modules.git
3737
repo_ref: main
38-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
38+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
3939
repo_path: modules/helm
4040
- folder_name: help
4141
repo_url: https://github.com/cert-manager/makefile-modules.git
4242
repo_ref: main
43-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
43+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
4444
repo_path: modules/help
4545
- folder_name: kind
4646
repo_url: https://github.com/cert-manager/makefile-modules.git
4747
repo_ref: main
48-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
48+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
4949
repo_path: modules/kind
5050
- folder_name: klone
5151
repo_url: https://github.com/cert-manager/makefile-modules.git
5252
repo_ref: main
53-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
53+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
5454
repo_path: modules/klone
5555
- folder_name: oci-build
5656
repo_url: https://github.com/cert-manager/makefile-modules.git
5757
repo_ref: main
58-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
58+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
5959
repo_path: modules/oci-build
6060
- folder_name: oci-publish
6161
repo_url: https://github.com/cert-manager/makefile-modules.git
6262
repo_ref: main
63-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
63+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
6464
repo_path: modules/oci-publish
6565
- folder_name: repository-base
6666
repo_url: https://github.com/cert-manager/makefile-modules.git
6767
repo_ref: main
68-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
68+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
6969
repo_path: modules/repository-base
7070
- folder_name: tools
7171
repo_url: https://github.com/cert-manager/makefile-modules.git
7272
repo_ref: main
73-
repo_hash: 2547c81aaa2ff4aeefdda53988191b5cbe929985
73+
repo_hash: f9604e0f1728c59dad941c433a81672080edaf84
7474
repo_path: modules/tools

make/_shared/kind/kind.mk

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,16 @@ $(kind_kubeconfig): $(kind_cluster_config) $(bin_dir)/scratch/cluster-check | im
5555
$(KIND) get kubeconfig --name $(kind_cluster_name) > $@
5656

5757
.PHONY: kind-cluster
58+
kind-cluster: $(kind_kubeconfig)
59+
60+
.PHONY: kind-cluster-load
5861
## Create Kind cluster and wait for nodes to be ready
62+
## Load the kubeconfig into the default location so that
63+
## it can be easily queried by kubectl. This target is
64+
## meant to be used directly, NOT as a dependency.
65+
## Use `kind-cluster` as a dependency instead.
5966
## @category [shared] Kind cluster
60-
kind-cluster: $(kind_kubeconfig) | $(NEEDS_KUBECTL)
67+
kind-cluster-load: kind-cluster | $(NEEDS_KUBECTL)
6168
mkdir -p ~/.kube
6269
KUBECONFIG=~/.kube/config:$(kind_kubeconfig) $(KUBECTL) config view --flatten > ~/.kube/config
6370
$(KUBECTL) config use-context kind-$(kind_cluster_name)

make/_shared/tools/00_mod.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,8 @@ $(DOWNLOAD_DIR)/tools/preflight@$(PREFLIGHT_VERSION)_linux_$(HOST_ARCH): | $(DOW
615615
missing=$(shell (command -v curl >/dev/null || echo curl) \
616616
&& (command -v sha256sum >/dev/null || command -v shasum >/dev/null || echo sha256sum) \
617617
&& (command -v git >/dev/null || echo git) \
618-
&& (command -v rsync >/dev/null || echo rsync))
618+
&& (command -v rsync >/dev/null || echo rsync) \
619+
&& (command -v bash >/dev/null || echo bash))
619620
ifneq ($(missing),)
620621
$(error Missing required tools: $(missing))
621622
endif

0 commit comments

Comments
 (0)