Skip to content

Commit e0271a0

Browse files
authored
Merge pull request #257 from cert-manager/self-upgrade
[CI] Merge self-upgrade into main
2 parents 97106c2 + c313207 commit e0271a0

File tree

5 files changed

+66
-52
lines changed

5 files changed

+66
-52
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929

3030
##################################
3131

32+
# Some modules build their dependencies from variables, we want these to be
33+
# evalutated at the last possible moment. For this we use second expansion to
34+
# re-evaluate the generate and verify targets a second time.
35+
#
36+
# See https://www.gnu.org/software/make/manual/html_node/Secondary-Expansion.html
37+
.SECONDEXPANSION:
38+
3239
MAKEFLAGS += --warn-undefined-variables --no-builtin-rules
3340
SHELL := /usr/bin/env bash
3441
.SHELLFLAGS := -uo pipefail -c

deploy/charts/istio-csr/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Port for exposing Prometheus metrics on 0.0.0.0 on path '/metrics'.
220220
</tr>
221221
<tr>
222222

223-
<td>app.metrics.service.servicemonitor</td>
223+
<td>app.metrics.service.enabled</td>
224224
<td>
225225

226226
Create a Service resource to expose metrics endpoint.
@@ -237,7 +237,7 @@ true
237237
</tr>
238238
<tr>
239239

240-
<td>app.metrics.service.servicemonitor</td>
240+
<td>app.metrics.service.type</td>
241241
<td>
242242

243243
Service type to expose metrics.
@@ -431,7 +431,7 @@ additionalAnnotations:
431431
</tr>
432432
<tr>
433433

434-
<td>app.certmanager.issuer.group</td>
434+
<td>app.certmanager.issuer.name</td>
435435
<td>
436436

437437
Issuer name set on created CertificateRequests for both istio-csr's serving certificate and incoming gRPC CSRs.
@@ -448,7 +448,7 @@ istio-ca
448448
</tr>
449449
<tr>
450450

451-
<td>app.certmanager.issuer.group</td>
451+
<td>app.certmanager.issuer.kind</td>
452452
<td>
453453

454454
Issuer kind set on created CertificateRequests for both istio-csr's serving certificate and incoming gRPC CSRs.
@@ -654,7 +654,7 @@ https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-204A.pdf
654654
</tr>
655655
<tr>
656656

657-
<td>app.server.serving.signatureAlgorithm</td>
657+
<td>app.server.serving.address</td>
658658
<td>
659659

660660
Container address to serve istio-csr gRPC service.
@@ -671,7 +671,7 @@ Container address to serve istio-csr gRPC service.
671671
</tr>
672672
<tr>
673673

674-
<td>app.server.serving.signatureAlgorithm</td>
674+
<td>app.server.serving.port</td>
675675
<td>
676676

677677
Container port to serve istio-csr gRPC service.
@@ -688,7 +688,7 @@ Container port to serve istio-csr gRPC service.
688688
</tr>
689689
<tr>
690690

691-
<td>app.server.serving.signatureAlgorithm</td>
691+
<td>app.server.serving.certificateKeySize</td>
692692
<td>
693693

694694
Number of bits to use for the server's serving certificate (RSAKeySize).

klone.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,55 +10,55 @@ targets:
1010
- folder_name: boilerplate
1111
repo_url: https://github.com/cert-manager/makefile-modules.git
1212
repo_ref: main
13-
repo_hash: b71107c9c4b222a39a037eeeae017e2adbcfa591
13+
repo_hash: 4eb12f8503548ac39ce632ac4ee7a86a565c034c
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: b71107c9c4b222a39a037eeeae017e2adbcfa591
18+
repo_hash: 4eb12f8503548ac39ce632ac4ee7a86a565c034c
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: b71107c9c4b222a39a037eeeae017e2adbcfa591
23+
repo_hash: 4eb12f8503548ac39ce632ac4ee7a86a565c034c
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: b71107c9c4b222a39a037eeeae017e2adbcfa591
28+
repo_hash: 4eb12f8503548ac39ce632ac4ee7a86a565c034c
2929
repo_path: modules/generate-verify
3030
- folder_name: helm
3131
repo_url: https://github.com/cert-manager/makefile-modules.git
3232
repo_ref: main
33-
repo_hash: b71107c9c4b222a39a037eeeae017e2adbcfa591
33+
repo_hash: 4eb12f8503548ac39ce632ac4ee7a86a565c034c
3434
repo_path: modules/helm
3535
- folder_name: help
3636
repo_url: https://github.com/cert-manager/makefile-modules.git
3737
repo_ref: main
38-
repo_hash: b71107c9c4b222a39a037eeeae017e2adbcfa591
38+
repo_hash: 4eb12f8503548ac39ce632ac4ee7a86a565c034c
3939
repo_path: modules/help
4040
- folder_name: kind
4141
repo_url: https://github.com/cert-manager/makefile-modules.git
4242
repo_ref: main
43-
repo_hash: b71107c9c4b222a39a037eeeae017e2adbcfa591
43+
repo_hash: 4eb12f8503548ac39ce632ac4ee7a86a565c034c
4444
repo_path: modules/kind
4545
- folder_name: klone
4646
repo_url: https://github.com/cert-manager/makefile-modules.git
4747
repo_ref: main
48-
repo_hash: b71107c9c4b222a39a037eeeae017e2adbcfa591
48+
repo_hash: 4eb12f8503548ac39ce632ac4ee7a86a565c034c
4949
repo_path: modules/klone
5050
- folder_name: oci-image
5151
repo_url: https://github.com/cert-manager/makefile-modules.git
5252
repo_ref: main
53-
repo_hash: b71107c9c4b222a39a037eeeae017e2adbcfa591
53+
repo_hash: 4eb12f8503548ac39ce632ac4ee7a86a565c034c
5454
repo_path: modules/oci-image
5555
- folder_name: repository-base
5656
repo_url: https://github.com/cert-manager/makefile-modules.git
5757
repo_ref: main
58-
repo_hash: b71107c9c4b222a39a037eeeae017e2adbcfa591
58+
repo_hash: 4eb12f8503548ac39ce632ac4ee7a86a565c034c
5959
repo_path: modules/repository-base
6060
- folder_name: tools
6161
repo_url: https://github.com/cert-manager/makefile-modules.git
6262
repo_ref: main
63-
repo_hash: b71107c9c4b222a39a037eeeae017e2adbcfa591
63+
repo_hash: 4eb12f8503548ac39ce632ac4ee7a86a565c034c
6464
repo_path: modules/tools

make/_shared/repository-base/base/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929

3030
##################################
3131

32+
# Some modules build their dependencies from variables, we want these to be
33+
# evalutated at the last possible moment. For this we use second expansion to
34+
# re-evaluate the generate and verify targets a second time.
35+
#
36+
# See https://www.gnu.org/software/make/manual/html_node/Secondary-Expansion.html
37+
.SECONDEXPANSION:
38+
3239
MAKEFLAGS += --warn-undefined-variables --no-builtin-rules
3340
SHELL := /usr/bin/env bash
3441
.SHELLFLAGS := -uo pipefail -c

make/_shared/tools/00_mod.mk

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -37,43 +37,43 @@ CTR=docker
3737

3838
TOOLS :=
3939
# https://github.com/helm/helm/releases
40-
TOOLS += helm=v3.13.3
40+
TOOLS += helm=v3.14.0
4141
# https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl
42-
TOOLS += kubectl=v1.29.0
42+
TOOLS += kubectl=v1.29.1
4343
# https://github.com/kubernetes-sigs/kind/releases
4444
TOOLS += kind=v0.20.0
4545
# https://www.vaultproject.io/downloads
4646
TOOLS += vault=1.15.4
4747
# https://github.com/Azure/azure-workload-identity/releases
4848
TOOLS += azwi=v1.2.0
4949
# https://github.com/kyverno/kyverno/releases
50-
TOOLS += kyverno=v1.11.1
50+
TOOLS += kyverno=v1.11.3
5151
# https://github.com/mikefarah/yq/releases
5252
TOOLS += yq=v4.40.5
5353
# https://github.com/ko-build/ko/releases
5454
TOOLS += ko=0.15.1
5555
# https://github.com/protocolbuffers/protobuf/releases
56-
TOOLS += protoc=25.1
56+
TOOLS += protoc=25.2
5757

5858
### go packages
5959
# https://pkg.go.dev/sigs.k8s.io/controller-tools/cmd/controller-gen?tab=versions
60-
TOOLS += controller-gen=v0.13.0
60+
TOOLS += controller-gen=v0.14.0
6161
# https://pkg.go.dev/golang.org/x/tools/cmd/goimports?tab=versions
62-
TOOLS += goimports=v0.16.1
62+
TOOLS += goimports=v0.17.0
6363
# https://pkg.go.dev/github.com/google/go-licenses/licenses?tab=versions
64-
TOOLS += go-licenses=v1.6.0
64+
TOOLS += go-licenses=706b9c60edd424a8b6d253fe10dfb7b8e942d4a5
6565
# https://pkg.go.dev/gotest.tools/gotestsum?tab=versions
6666
TOOLS += gotestsum=v1.11.0
6767
# https://pkg.go.dev/sigs.k8s.io/kustomize/kustomize/v4?tab=versions
6868
TOOLS += kustomize=v4.5.7
6969
# https://pkg.go.dev/github.com/itchyny/gojq?tab=versions
7070
TOOLS += gojq=v0.12.14
7171
# https://pkg.go.dev/github.com/google/go-containerregistry/pkg/crane?tab=versions
72-
TOOLS += crane=v0.17.0
72+
TOOLS += crane=v0.18.0
7373
# https://pkg.go.dev/google.golang.org/protobuf/cmd/protoc-gen-go?tab=versions
74-
TOOLS += protoc-gen-go=v1.31.0
74+
TOOLS += protoc-gen-go=v1.32.0
7575
# https://pkg.go.dev/github.com/norwoodj/helm-docs/cmd/helm-docs?tab=versions
76-
TOOLS += helm-docs=v1.11.2
76+
TOOLS += helm-docs=v1.12.0
7777
# https://pkg.go.dev/github.com/sigstore/cosign/v2/cmd/cosign?tab=versions
7878
TOOLS += cosign=v2.2.2
7979
# https://pkg.go.dev/github.com/cert-manager/boilersuite?tab=versions
@@ -89,23 +89,23 @@ TOOLS += oras=v1.1.0
8989
# because otherwise the awk failure renders the whole makefile unusable.
9090
TOOLS += ginkgo=$(shell [[ -f go.mod ]] && awk '/ginkgo\/v2/ {print $$2}' go.mod || echo "v2.13.2")
9191
# https://pkg.go.dev/github.com/cert-manager/klone?tab=versions
92-
TOOLS += klone=v0.0.3
92+
TOOLS += klone=v0.0.4
9393
# https://pkg.go.dev/github.com/goreleaser/goreleaser?tab=versions
9494
TOOLS += goreleaser=v1.23.0
9595
# https://pkg.go.dev/github.com/anchore/syft/cmd/syft?tab=versions
9696
TOOLS += syft=v0.100.0
9797
# https://github.com/cert-manager/helm-tool
98-
TOOLS += helm-tool=v0.2.2
98+
TOOLS += helm-tool=v0.2.3
9999

100100
# https://pkg.go.dev/k8s.io/code-generator/cmd?tab=versions
101-
K8S_CODEGEN_VERSION=v0.29.0
101+
K8S_CODEGEN_VERSION=v0.29.1
102102
TOOLS += applyconfiguration-gen=$(K8S_CODEGEN_VERSION)
103103
TOOLS += openapi-gen=$(K8S_CODEGEN_VERSION)
104104
TOOLS += defaulter-gen=$(K8S_CODEGEN_VERSION)
105105
TOOLS += conversion-gen=$(K8S_CODEGEN_VERSION)
106106

107107
# https://github.com/kubernetes-sigs/kubebuilder/blob/tools-releases/build/cloudbuild_tools.yaml
108-
KUBEBUILDER_ASSETS_VERSION=1.28.3
108+
KUBEBUILDER_ASSETS_VERSION=1.29.0
109109
TOOLS += etcd=$(KUBEBUILDER_ASSETS_VERSION)
110110
TOOLS += kube-apiserver=$(KUBEBUILDER_ASSETS_VERSION)
111111

@@ -300,10 +300,10 @@ $(foreach GO_DEPENDENCY,$(GO_DEPENDENCIES),$(eval $(call go_dependency,$(word 1,
300300
# Helm #
301301
########
302302

303-
HELM_linux_amd64_SHA256SUM=bbb6e7c6201458b235f335280f35493950dcd856825ddcfd1d3b40ae757d5c7d
304-
HELM_linux_arm64_SHA256SUM=44aaa094ae24d01e8c36e327e1837fd3377a0f9152626da088384c5bc6d94562
305-
HELM_darwin_amd64_SHA256SUM=da654c9e0fd4fcb50cc5dba051c1c9cf398e21ffa5064b47ac89a9697e139d39
306-
HELM_darwin_arm64_SHA256SUM=61ba210cd65c53be5c0021c8fc8e0b94f4c122aff32f5ed0e4ea81728108ea20
303+
HELM_linux_amd64_SHA256SUM=f43e1c3387de24547506ab05d24e5309c0ce0b228c23bd8aa64e9ec4b8206651
304+
HELM_linux_arm64_SHA256SUM=b29e61674731b15f6ad3d1a3118a99d3cc2ab25a911aad1b8ac8c72d5a9d2952
305+
HELM_darwin_amd64_SHA256SUM=804586896496f7b3da97f56089ea00f220e075e969b6fdf6c0b7b9cdc22de120
306+
HELM_darwin_arm64_SHA256SUM=c2f36f3289a01c7c93ca11f84d740a170e0af1d2d0280bd523a409a62b8dfa1d
307307

308308
$(bin_dir)/downloaded/tools/helm@$(HELM_VERSION)_%: | $(bin_dir)/downloaded/tools
309309
$(CURL) https://get.helm.sh/helm-$(HELM_VERSION)-$(subst _,-,$*).tar.gz -o $@.tar.gz
@@ -317,10 +317,10 @@ $(bin_dir)/downloaded/tools/helm@$(HELM_VERSION)_%: | $(bin_dir)/downloaded/tool
317317
# kubectl #
318318
###########
319319

320-
KUBECTL_linux_amd64_SHA256SUM=0e03ab096163f61ab610b33f37f55709d3af8e16e4dcc1eb682882ef80f96fd5
321-
KUBECTL_linux_arm64_SHA256SUM=8f7a4bd6bae900a4ddab12bd1399aa652c0d59ea508f39b910e111d248893ff7
322-
KUBECTL_darwin_amd64_SHA256SUM=d69c2b0929070e42518b304758fbe05cf76c4fb60d36e93bb667d7b76e582124
323-
KUBECTL_darwin_arm64_SHA256SUM=403beb5d64d8a8517f808a320619a28adc89003b1b710f02421933a9ee4eb968
320+
KUBECTL_linux_amd64_SHA256SUM=69ab3a931e826bf7ac14d38ba7ca637d66a6fcb1ca0e3333a2cafdf15482af9f
321+
KUBECTL_linux_arm64_SHA256SUM=96d6dc7b2bdcd344ce58d17631c452225de5bbf59b83fd3c89c33c6298fb5d8b
322+
KUBECTL_darwin_amd64_SHA256SUM=c4da86e5c0fc9415db14a48d9ef1515b0b472346cbc9b7f015175b6109505d2c
323+
KUBECTL_darwin_arm64_SHA256SUM=c31b99d7bf0faa486a6554c5f96e36af4821a488e90176a12ba18298bc4c8fb0
324324

325325
$(bin_dir)/downloaded/tools/kubectl@$(KUBECTL_VERSION)_%: | $(bin_dir)/downloaded/tools
326326
$(CURL) https://dl.k8s.io/release/$(KUBECTL_VERSION)/bin/$(subst _,/,$*)/kubectl -o $@
@@ -378,10 +378,10 @@ $(bin_dir)/downloaded/tools/azwi@$(AZWI_VERSION)_%: | $(bin_dir)/downloaded/tool
378378
# kube-apiserver / etcd #
379379
############################
380380

381-
KUBEBUILDER_TOOLS_linux_amd64_SHA256SUM=878fded1b42261293419621b78c9deac319531a325ea57ef62d9060b444fe356
382-
KUBEBUILDER_TOOLS_linux_arm64_SHA256SUM=7e441e7cbbd53ba1585a27fded9f4a41d2f354ec86c09ac7de9caf666128461a
383-
KUBEBUILDER_TOOLS_darwin_amd64_SHA256SUM=f0ce69984cb1e51b68b34408fa79649368c85fe8db9caedc61d02bffc978fced
384-
KUBEBUILDER_TOOLS_darwin_arm64_SHA256SUM=98092c9edbfab1312d1418244f1f3f2d21509328e5ca8a84e0a6050e7aae69ea
381+
KUBEBUILDER_TOOLS_linux_amd64_SHA256SUM=d4ab1654311f256869189b3107641f308dfe996c72bdeda0c05b2fbb7fb0a55b
382+
KUBEBUILDER_TOOLS_linux_arm64_SHA256SUM=8415f16b7ee1d83817bd2bcdd1c4555d6fc19d52799f9b3311f6a247f4d65f1e
383+
KUBEBUILDER_TOOLS_darwin_amd64_SHA256SUM=d3c7448b42299f5ab225580cafeee09c964e4d961d1a14ef10845894fbc56329
384+
KUBEBUILDER_TOOLS_darwin_arm64_SHA256SUM=7dbdd4bf62353ee67a766115106ac908b35200a743f3cb5984f97875c77e5030
385385

386386
$(bin_dir)/downloaded/tools/etcd@$(KUBEBUILDER_ASSETS_VERSION)_%: $(bin_dir)/downloaded/tools/kubebuilder_tools_$(KUBEBUILDER_ASSETS_VERSION)_%.tar.gz | $(bin_dir)/downloaded/tools
387387
$(checkhash_script) $< $(KUBEBUILDER_TOOLS_$*_SHA256SUM)
@@ -400,10 +400,10 @@ $(bin_dir)/downloaded/tools/kubebuilder_tools_$(KUBEBUILDER_ASSETS_VERSION)_$(HO
400400
# kyverno #
401401
###########
402402

403-
KYVERNO_linux_amd64_SHA256SUM=c19d8da3107e75842779b73258f102da95467c3678f3f78b0f85a73fafb9e57d
404-
KYVERNO_linux_arm64_SHA256SUM=e0de7acb2a85b79c11208141987583bd06dbd95d1c3126d0e4b34fdb9e8abcf4
405-
KYVERNO_darwin_amd64_SHA256SUM=dee9270d7bbbeac27e737255fe6548ffb81cefc7e4b957fce810d57321a56d29
406-
KYVERNO_darwin_arm64_SHA256SUM=e08e16adfe373140a2cef9266f9abed5d114738b8ad94e06310dfc4979875369
403+
KYVERNO_linux_amd64_SHA256SUM=08cf3640b847e3bbd41c5014ece4e0aa6c39915f5c199eeac8d80267955676e6
404+
KYVERNO_linux_arm64_SHA256SUM=31805a52e98733b390c60636f209e0bda3174bd09e764ba41fa971126b98d2fc
405+
KYVERNO_darwin_amd64_SHA256SUM=21fa0733d1a73d510fa0e30ac10310153b7124381aa21224b54fe34a38239542
406+
KYVERNO_darwin_arm64_SHA256SUM=022bc2640f05482cab290ca8cd28a67f55b24c14b93076bd144c37a1732e6d7e
407407

408408
$(bin_dir)/downloaded/tools/kyverno@$(KYVERNO_VERSION)_%: | $(bin_dir)/downloaded/tools
409409
$(CURL) https://github.com/kyverno/kyverno/releases/download/$(KYVERNO_VERSION)/kyverno-cli_$(KYVERNO_VERSION)_$(subst amd64,x86_64,$*).tar.gz -fsSL -o $@.tar.gz
@@ -447,10 +447,10 @@ $(bin_dir)/downloaded/tools/ko@$(KO_VERSION)_%: | $(bin_dir)/downloaded/tools
447447
# protoc #
448448
##########
449449

450-
PROTOC_linux_amd64_SHA256SUM=ed8fca87a11c888fed329d6a59c34c7d436165f662a2c875246ddb1ac2b6dd50
451-
PROTOC_linux_arm64_SHA256SUM=99975a8c11b83cd65c3e1151ae1714bf959abc0521acb659bf720524276ab0c8
452-
PROTOC_darwin_amd64_SHA256SUM=72c6d6b2bc855ff8688c3b7fb31288ccafd0ab55256ff8382d5711ecfcc11f4f
453-
PROTOC_darwin_arm64_SHA256SUM=320308ce18c359564948754f51748de41cf02a4e7edf0cf47a805b9d38610f16
450+
PROTOC_linux_amd64_SHA256SUM=78ab9c3288919bdaa6cfcec6127a04813cf8a0ce406afa625e48e816abee2878
451+
PROTOC_linux_arm64_SHA256SUM=07683afc764e4efa3fa969d5f049fbc2bdfc6b4e7786a0b233413ac0d8753f6b
452+
PROTOC_darwin_amd64_SHA256SUM=5fe89993769616beff1ed77408d1335216379ce7010eee80284a01f9c87c8888
453+
PROTOC_darwin_arm64_SHA256SUM=8822b090c396800c96ac652040917eb3fbc5e542538861aad7c63b8457934b20
454454

455455
$(bin_dir)/downloaded/tools/protoc@$(PROTOC_VERSION)_%: | $(bin_dir)/downloaded/tools
456456
$(CURL) https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOC_VERSION)/protoc-$(PROTOC_VERSION)-$(subst darwin,osx,$(subst arm64,aarch_64,$(subst amd64,x86_64,$(subst _,-,$*)))).zip -o $@.zip

0 commit comments

Comments
 (0)