Commit Graph

138 Commits

Author SHA1 Message Date
Ashley Davis
eccde015ac
add CRD generation to makefile, replacing bazel
- includes a run of make update-crds which causes some trivial changes
- updates version of YQ to latest
- makes hack/update-crds.sh just call make
- makes hack/verify-crds.sh just call make
- moves functionality of hack/verify-crds.sh to hack/check-crds.sh,
  using the makefile for generating alternative CRDs for comparison
- removes the bazel test associated with CRDs

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-27 13:25:18 +01:00
Ashley Davis
22c0f45e22
add a make variant for codegen tools
- runs "make update-codegen"
- adds codegen verification to make tests
- changes hack/(update|verify)-codegen.sh to just call make
- removes bazel codegen test so it's not automatically run in CI

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-24 09:58:01 +01:00
Ashley Davis
7230ff85a5
add extra info on how to fix when tools are missing
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-24 09:54:57 +01:00
Ashley Davis
52b94bb5a3
bump version of k8s-codegen assets
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-24 09:54:52 +01:00
Ashley Davis
a90f215b06
add todo warning about using FULL images
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-21 16:34:31 +01:00
Ashley Davis
6a5c158c81
move commented out SHASUM generation to bottom of file
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-21 16:34:30 +01:00
Ashley Davis
e456c95fc2
move FORCE target to Makefile
it looked out of place in git.mk

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-21 16:34:30 +01:00
Ashley Davis
35f2206404
change name of bin dir to _bin by default and make it a variable
This is needed because go and other tools will ignore directories
starting with "_" or "." but would treat a dir called "bin" as a regular
directory.

This in turn meant that when we vendored Go in bin, these tools would by
default scan the whole stdlib included with the bundled vendored go.

See https://pkg.go.dev/cmd/go#hdr-Package_lists_and_patterns for details

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-21 16:34:26 +01:00
jetstack-bot
bbf2b58a5e
Merge pull request #5187 from irbekrm/cleanup_kind_config
Clean up kind config
2022-06-21 16:22:48 +01:00
irbekrm
ce55ddde2a Code review feedback
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-21 12:37:13 +01:00
irbekrm
42f82c529b Bumps base images
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-21 08:49:39 +01:00
Ashley Davis
abebcacf42
add target for publishing a release to GCS using rclone
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-13 14:59:53 +01:00
jetstack-bot
448a0832bf
Merge pull request #5190 from irbekrm/kind_1_24
Bump kind, use upstream 1.24 image
2022-06-09 19:34:33 +01:00
irbekrm
36984671dd Adds a couple comments and TODOs
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-09 16:54:38 +01:00
irbekrm
accb40b4f9 Default kube version for test kind cluster to 1.24
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-09 16:54:14 +01:00
irbekrm
cdc8c1ce36 Bumps kind to 0.14, use upstream kube 1.24 image
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-09 16:53:20 +01:00
Ashley Davis
9e51a14be1
add install for rclone
this will be used in place of gsutil to upload staged releases to GCS

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-09 15:49:11 +01:00
Alessandro Vermeulen
1da01211ee Feature gated support for using literal subjects in Certificates
Signed-off-by: Alessandro Vermeulen <alessandro.vermeulen@ing.com>
2022-06-08 20:50:00 +02:00
irbekrm
e203619334 Removes check for Kubernetes 1.18 and 1.19
As we are no longer creating 1.18 and 1.19 kind clusters

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-08 18:30:26 +01:00
irbekrm
a76d85eab3 Allows kind to choose API version for kubeadm Cluster config
To be able to use single kind config for different Kubernetes versions

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-08 18:29:40 +01:00
irbekrm
3720950975 Remove kind config for kube 1.18 and 1.19
As we no longer need to create 1.18 and 1.19 clusters

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-08 18:02:31 +01:00
irbekrm
a0d3d8eb0a Predefine what service IP range kind should use
Instead of trying to retrieve it after creating the cluster

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-08 17:40:08 +01:00
irbekrm
10e117c59d Removes 1.18 and 1.19 kind images
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-08 13:32:48 +01:00
irbekrm
3ff5dc26ef Removes installation of pre-kubernetes 1.19 compat ingress
As we no longer need to support Kubernetes 1.19

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-08 13:25:42 +01:00
irbekrm
289d082fbd Removes the unused traefik and haproxy addons config
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-08 13:08:08 +01:00
jetstack-bot
7930ee3d4b
Merge pull request #5184 from irbekrm/fix_etcd_flags
Fix etcd flags
2022-06-07 15:33:09 +01:00
irbekrm
eeb300894f Ensure that flags are actually passed to etcd
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-07 13:05:43 +01:00
Ashley Davis
3d0fd00137
add unsigned manifests target
this preserves the split between make release-artifacts and
make release-artifacts-signed

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-06 18:58:15 +01:00
Luca Comellini
091549620b
Bump Go to 1.18
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2022-06-02 15:50:13 -07:00
Joakim Ahrlin
1ea52d3a3d update base images
Signed-off-by: Joakim Ahrlin <joakim.ahrlin@gmail.com>
2022-05-20 12:17:03 +02:00
irbekrm
e89b2b1423 Don't fail when removing a non-existant tar
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-05-13 16:35:16 +01:00
jetstack-bot
e426568633
Merge pull request #5116 from irbekrm/bump_contour
Bump contour
2022-05-13 12:02:55 +01:00
Ashley Davis
000d4307a7
don't verify chart in ci-presubmit
this test requires docker/podman, unlike other tests, and so requires other setup

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-05-12 16:29:27 +01:00
jetstack-bot
9a95de7aec
Merge pull request #5119 from SgtCoDFish/latestkind
Maintain a single source of truth for updating kind images
2022-05-11 17:54:55 +01:00
Ashley Davis
a691a0807b
maintain a single source of truth for updating kind images
this removes the update functionality from make/cluster.sh in favour of
the simpler logic in hack/latest-kind-images.sh

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-05-11 16:35:25 +01:00
Ashley Davis
7ce1f9cffb
Improve "make help" output and add a couple of utility commands
- "make help" should be good enough for most people in most situations
  to build and test cert-manager
- "make clean-all" can be a one-stop-shop to start fresh.
- "make which-go" makes it clearer whether go vendoring is being used

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-05-11 13:35:28 +01:00
Ashley Davis
c205b4d74f
make verify-chart-version respect CTR in makefile
this allows podman to be used instead of docker

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-05-11 12:10:36 +01:00
irbekrm
5f1dfa8c2b Bumps Contour v1.20.0 -> v1.20.1
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-05-11 11:30:20 +01:00
irbekrm
8dbd9a619f Removes duplicated Gateway CRDs
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-05-11 11:29:47 +01:00
irbekrm
134398e939 Ensure that kube version can be modified
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-05-10 12:06:54 +01:00
irbekrm
324ce22482 Fix kube 1.24 image
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-05-10 12:06:31 +01:00
irbekrm
9aa9d4bd85 Wait for cluster-info to be available
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-05-10 12:05:59 +01:00
irbekrm
689ddcafa2 Cleanup + a couple TODOs
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-05-10 12:05:02 +01:00
irbekrm
6cb826833e Ensures Envoy ClusterIP is parameterized consistently
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-05-10 12:02:16 +01:00
irbekrm
66aef8d582 Bumps kind v0.11.1 -> v0.12.0
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-05-09 17:45:11 +01:00
irbekrm
9cda740b52 Allows creation of 1.24 kind cluster
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-05-04 16:51:34 +01:00
irbekrm
5bfdd3c0c6 Always save e2e test logs
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-04-27 18:32:51 +01:00
jetstack-bot
d7a3a39767
Merge pull request #5050 from jahrlin/master
trim leading ./ from release archives created by Make
2022-04-25 13:34:20 +01:00
irbekrm
b1e12841d1 Don't use --force option to install addons with helm
As that makes it impossible to re-run the installation commands

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-04-22 12:03:54 +01:00
irbekrm
d720d8e02b Fix kind cluster creation with kube 1.19 and 1.18
By specifying a different kind config that does not use an etcd flag that was only add in later etcd versions

Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-04-21 12:36:33 +01:00