Ashley Davis
80bbe953bb
fix name of command in example comment
...
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-28 16:24:28 +01:00
Ashley Davis
2c9344e316
Don't require python to be installed for everything
...
We only use python in one place and probably won't start using it more
without some kind of policy change. We don't need to require that everyone
has it installed, and can instead only require it for people who're running
the boilerplate check
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-28 15:57:39 +01:00
Ashley Davis
6eb1be3636
make verify_deps is now a no-op
...
this will allow tests to pass until we remove the pull-cert-manager-deps test
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-28 09:28:01 +01:00
Ashley Davis
f8c1ebe2d8
add make verifier / updater for LICENSES
...
Uses go-licenses to create a CSV file which replaces LICENSES.
The replacement is much smaller and easier to parse for both humans
and for machines.
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-28 09:27:54 +01:00
Ashley Davis
b3a3f61fbf
add install for go-licenses
...
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-27 18:15:08 +01:00
Ashley Davis
c6745ea7a9
move VENDORED_GO_VERSION up with other versions
...
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-27 18:15:07 +01:00
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