Commit Graph

561 Commits

Author SHA1 Message Date
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
Ashley Davis
1e419a468f
Enable + use k8s 1.26 for e2e tests by default
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-12-16 17:06:18 +00:00
Ashley Davis
cdcfd552ff
add make target for updating base images
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-11-04 16:31:20 +00:00
Ashley Davis
3c3afa6afa
don't write to devel folder when updating kind images
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-10-21 13:10:37 +01:00
irbekrm
aa886e78d6 Adds a script to quickly generate latest SHAs
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-10-06 14:29:24 +01:00
Tim Ramlot
519e2d1337 add kind 1.25
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-09-22 15:29:10 +02:00
jetstack-bot
88bda66693
Merge pull request #5345 from inteon/ginkgo_v2
Upgrade to Ginkgo v2
2022-08-04 21:06:15 +01:00
jetstack-bot
b52d116fa4
Merge pull request #5363 from inteon/gotestsum_junit
Output junit xml using gotestsum
2022-08-04 12:46:14 +01:00
Tim Ramlot
ba9a6bd5b3 add pruning logic for gotestsum junit xml output
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-04 11:15:18 +00:00
Tim Ramlot
9897f2355c upgrade ginkgo to v2
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-04 10:16:29 +00:00
Tim Ramlot
aabe2fc5d1 simplify static manifest generation
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-04 06:54:11 +00:00
Ashley Davis
fb231ab641
Remove bazel 🎉
This removes all .bazel and .bzl files, and a bunch of scripts relating
to bazel, now that it's been entirely replaced.

There are still a few places where traces could be removed, but this
removes the brunt of the bazel stuff that remains.

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-07-26 11:38:50 +01:00
irbekrm
7820c37c7d updates bazel deps
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-07-06 11:49:53 +01:00
joshvanl
328ea2b632 Change all scripts #!/bin/bash -> #!/usr/bin/env bash. Also changes same
for Makefile SHELL

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-07-04 14:49:34 +01:00
jetstack-bot
5a4e7654d4
Merge pull request #5097 from lucacome/bump-k8s-deps
Bump k8s.io dependencies
2022-07-04 14:44:45 +01:00
Luca Comellini
aaa513de00
Bump k8s.io dependencies
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2022-06-30 15:16:14 -07:00
Ashley Davis
ca35696244
add make-based upgrade test
This uses cmctl instead of kubectl_cert-manager, uses make instead of
bazel and fixes an incorrect container name in
test/fixtures/upgrade/overlay/cainjector-ops.yaml

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-30 22:35:39 +01:00
Ashley Davis
642161a963
make update-all & ensure bazel-only targets are runnable
this allows us to maintain the bazel build files until they're removed,
but tries to avoid accidentally encouraging their use

`make update-all` implementes a non-bazel version of
`hack/update-all.sh`, with `hack/update-all.sh` now calling make but
also doing the bazel stuff it used to.

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-30 12:47:30 +01:00
Ashley Davis
358785fb3d
remove now-replaced tests from hack/BUILD.bazel
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-28 09:28:01 +01:00