Commit Graph

579 Commits

Author SHA1 Message Date
Tim Ramlot
337137007e
re-add hash.sh, which was also used by the release Make target
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-21 14:03:04 +02:00
Tim Ramlot
c1fe43efe7
bump code generators
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-17 19:14:03 +02:00
cert-manager-prow[bot]
b6359abd5b
Merge pull request #7020 from cert-manager/self-upgrade-master
[CI] Merge self-upgrade-master into master
2024-05-14 17:18:50 +00:00
Ashley Davis
1143141987
bump kind images to latest for v0.23.0, use K8s v1.30.0 by default
Also removes support for old K8s versions unsupported by Kind v0.23.0

Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-05-14 14:08:43 +01:00
Tim Ramlot
cfe974b775
deduplicate shared config API structs
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-14 09:28:10 +02:00
Tim Ramlot
403e484252
fix breaking cmctl change -v now requires a level
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-05-04 09:47:06 +02:00
Tim Ramlot
8ea7cbc362
fix forbidigo linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-30 10:01:34 +02:00
Tim Ramlot
8bec192b90
fix unconvert linter
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-29 15:30:30 +02:00
Erik Godding Boye
8f99f40cbb
Upgrade K8s dependencies to v0.30.0
Signed-off-by: Erik Godding Boye <egboye@gmail.com>
2024-04-28 13:02:36 +02:00
Tim Ramlot
ad21989f12
improve Makefile generate and verify targets (make them parallelizable)
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-24 16:32:19 +02:00
Tim Ramlot
eb3b832f7a
add go makefile module
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-22 15:56:30 +02:00
Youngjun
237dfd9f0d refectoring: remove unnecessary code
Signed-off-by: Youngjun <yj.yoo@okestro.com>
2024-04-22 14:24:59 +09:00
Tim Ramlot
01b298a580
move to Makefile modules
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-04-10 18:53:40 +02:00
jetstack-bot
0b379e4b5c
Merge pull request #6760 from inteon/add_crd_keep
Add `crds.keep` and `crds.enabled` Helm options
2024-02-20 12:09:35 +00:00
Tim Ramlot
15d6949952
the upgrade script has to keep using the old installCRDs option
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-19 14:38:39 +01:00
Tim Ramlot
4a35796f00
replace usage of installCRDs with crds.enabled
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-19 14:23:20 +01:00
Tim Ramlot
d34e2c8589
add CRD keep annotation
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-15 15:28:09 +01:00
Tim Ramlot
8f7af98772
remove testgroup CRD scripts
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-12 11:11:33 +01:00
jetstack-bot
63bd488bfa
Merge pull request #6730 from inteon/remove_legacy
Remove deprecated files and functions
2024-02-08 13:21:31 +00:00
Tim Ramlot
04220447bc
remove deprecated files and functions
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-08 10:45:06 +01:00
Richard Wall
2b26e329a9 Allow for optional v prefix and optional patch component of version
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-02-07 18:16:05 +00:00
Tim Ramlot
2bef9d35b6
remove remaining references to cmctl, which was moved to https://github.com/cert-manager/cmctl
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-01-30 14:56:05 +01:00
Tim Ramlot
8f5d3aa58c
upgrade and cleanup dependencies
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-01-28 10:59:23 +01:00
Richard Wall
329124a47c Parse the kind release notes for compatible kindest/node images
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-01-26 17:18:24 +00:00
Richard Wall
4961dd3fc1 Remove unused KIND_IMAGE_SHA_K8S_ variables
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-01-26 11:08:29 +00:00
Richard Wall
de8e9b07b3 Remove KIND_IMAGE_FULL_ variables and use KIND_IMAGE_K8S_ instead
Simplifies the latest-kind-images.sh script and the kind-images.sh variables.

Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-01-26 11:08:29 +00:00
Tim Ramlot
7b94868513
remove cmctl from this repo
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-01-24 16:15:34 +01:00
Ashley Davis
ed7855cc63
tweak checkhash script
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-01-19 16:25:19 +00:00
Richard Wall
614a29dbf5 Add detection of Kindest node image for 1.29
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-01-16 13:18:34 +00:00
Richard Wall
aa825c2219 Remove the special case handling of the latest 1.28 image
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-01-16 13:15:36 +00:00
Ashley Davis
b3b14fda41
add separate startupapicheck binary
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2024-01-02 17:17:50 +00:00
Tim Ramlot
4f848bf2ee
upgrade base image from debian11 to debian12
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-01-02 13:26:21 +01:00
Ashley Davis
f7937c7372
Use explicit debian version for base images
Fixes #6478

Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
2023-11-14 14:30:45 +00:00
Richard Wall
c8801e997a Use the official multi-arch digest for K8S 1.28 on Kind 0.20.0
https://github.com/kubernetes-sigs/kind/releases/tag/v0.20.0

Signed-off-by: Richard Wall <richard.wall@venafi.com>
2023-10-26 14:34:04 +01:00
Tim Ramlot
e5f50002e1
introduce configfile for cainjector options
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-09-28 12:56:11 +02:00
Tim Ramlot
3fc1f8a580
upgrade all dependencies
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-08-24 19:54:25 +02:00
Tim Ramlot
9d2d1cd6ef
add openapi definitions to acme API server
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-08-23 14:12:51 +02:00
Cody W. Eilar
1243fe285b Add to ability to start controller with config file
Signed-off-by: Cody W. Eilar <ecody@vmware.com>
2023-07-27 16:44:38 -07:00
Tim Ramlot
106d49f44b
upgrade kind images
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-07-24 10:14:51 +02:00
Cody W. Eilar
5741efb28e Remove the "--tmpdir" flag from mktemp
- The OS X version of mktemp doesn't support the --tmpdir flag.
- According to the doc for mktemp on OSX: "If no arguments are passed or if only the -d flag is passed mktemp behaves as if -t tmp was supplied."
- This will continue to work for Linux based versions of mktemp.

Signed-off-by: Cody W. Eilar <ecody@vmware.com>
2023-06-23 15:37:03 -06:00
jetstack-bot
77409512fe
Merge pull request #5814 from ptrc-n/make-on-m1
Add initial support for linux/arm64 as a dev platform
2023-05-02 11:23:34 +01:00
Ashley Davis
408d175328
Use boilersuite instead of python
Removes python boilerplate checker, updates our other use of boilerplate
templates and adds installation for boilersuite.

(also removes some redundant curl args when installing kind)

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2023-04-28 09:46:47 +01:00
Patrick Nannt
5e7154ea57 fixed a bug and added linux-arm64 target in kubebuilder-shas script
Signed-off-by: Patrick Nannt <34661599+ptrc-n@users.noreply.github.com>
2023-04-25 20:47:31 +00:00
irbekrm
6a5748319a Bumps kubectl 1.26 -> 1.27
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-24 11:57:19 +01:00
irbekrm
6315b7bf15 Adds kube 1.27 kind image, makes it default
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-24 08:50:39 +01:00
Ashley Davis
f3a051d94f
add license preludes for a variety of files
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2023-03-14 15:46:10 +00:00
jetstack-bot
d5125b55ce
Merge pull request #5722 from james-callahan/container-label
Add org.opencontainers.image.source OCI label to containers
2023-01-18 11:31:58 +00:00
Luca Comellini
98ce5936ec
Update Helm and Kubebuilder
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2023-01-13 09:55:41 -08:00
James Callahan
33e9c030ea
Add org.opencontainers.image.source OCI label to containers
A full list of pre-defined annotations is available at:
https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys

Signed-off-by: James Callahan <james@wavesquid.com>
2023-01-13 18:28:24 +11:00
Ashley Davis
c685efeb03
use template when generating tempdir in verify-crds
Due to a bug in controller-gen[1] certain paths are incorrectly split
and part of these paths can be interpreted as a numeric literal, which
will cause controller-gen to fail. We observe this as occasional test
flakes in the "verify-crds" target, when the tmpdir starts with a zero,
such as in "/tmp/tmp.0PFqFSHBID"

This commit attempts to avoid this bug by specifying a template for the
tmpdir we generate when verifying CRDs which doesn't include any "."
characters, which seem to be being split incorrectly.

[1] https://github.com/kubernetes-sigs/controller-tools/issues/734

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2023-01-03 15:14:02 +00:00