6340 Commits
Author SHA1 Message Date
jetstack-botandGitHub 89bc977eb2 Merge pull request #4408 from JoshVanL/ctl-generate-completion
Adds generate completion scripts for bash, zsh, fish, and powershell
v1.6.0-alpha.2
2021-10-11 16:02:14 +01:00
jetstack-botandGitHub b1a648dc13 Merge pull request #4509 from wallrj/version-panic
Fix a nil pointer panic in kubectl cert-manager version
2021-10-11 14:34:14 +01:00
Richard Wall e53c29f128 Call Options.Complete to set up the version checker command
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-09 10:14:01 +01:00
Richard Wall f436f0e025 Test kubectl cert-manager version by running it after install
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-09 10:05:32 +01:00
Richard Wall 11c6575133 Add timestamps to bazel build output
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-08 17:21:18 +01:00
jetstack-botandGitHub 0eb434f401 Merge pull request #4506 from SgtCoDFish/updatebase
Bump distroless base images to latest versions
2021-10-08 14:31:49 +01:00
Ashley Davis 12651853fa bump distroless base images to latest versions
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-10-08 13:50:32 +01:00
jetstack-botandGitHub 23ee2a2b08 Merge pull request #4501 from irbekrm/remove_crypto_fork
Uses go/crypto ListCertAlternates to fetch alternate certificate chains
2021-10-07 16:09:22 +01:00
irbekrm 598ed35e4a Uses go/crypto ListCertAlternates function to fetch alternative certificate chains
This allows us to use upstream go/crypto again instead of our own fork

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-10-07 15:21:26 +01:00
jetstack-botandGitHub e966fb32fe Merge pull request #4498 from wallrj/upgrade-containerd
Upgrade containerd
2021-10-07 09:55:42 +01:00
Richard Wall cf3092f8c5 ./hack/update-all.sh
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-07 09:16:16 +01:00
Richard Wall 6cadf757eb go mod tidy
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-07 09:16:02 +01:00
Richard Wall 1a93079a69 go get -u github.com/containerd/containerd
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-07 09:12:44 +01:00
jetstack-botandGitHub 546c77f438 Merge pull request #4486 from munnerz/bump-kind-images
Upgrade kind docker images to be correct for version
2021-10-01 14:58:35 +01:00
jetstack-botandGitHub f41310a82d Merge pull request #4485 from munnerz/m1-support
Add support for building all Bazel targets on M1 macs
2021-10-01 14:03:35 +01:00
jetstack-botandGitHub 98529958e2 Merge pull request #4484 from wallrj/dependabot-suggested-updates
Address some Dependabot security alerts
v1.6.0-alpha.1
2021-10-01 13:22:35 +01:00
Richard Wall 5d91f0a3c4 Fix flaky test by using EqualUnsorted to compare Events
Supplants https://github.com/jetstack/cert-manager/pull/4297

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-01 12:41:15 +01:00
Richard Wall 38fbd6cf4f ./hack/update-all.sh
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-01 12:41:15 +01:00
Richard Wall 6a32ccd5dd go get -u helm.sh/helm/v3
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-01 12:41:10 +01:00
James Munnelly 4a4118f366 Upgrade kind docker images to be correct for version
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-10-01 12:40:43 +01:00
James Munnelly 093313390b Add support for building all Bazel targets on M1 macs
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-10-01 11:48:22 +01:00
Richard Wall 00e0090ce7 ./hack/update-all.sh
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-01 10:22:35 +01:00
Richard Wall 10090b4853 go mod tidy
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-01 10:15:58 +01:00
Richard Wall d47c46953f go get -u github.com/containerd/containerd
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-01 10:15:31 +01:00
Richard Wall c786540b0a go get -u github.com/opencontainers/runc
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-10-01 10:14:53 +01:00
jetstack-botandGitHub cfbb32d8ce Merge pull request #4478 from irbekrm/bump_go_and_deps
bumps Go version to 1.17, updates deps and kube libraries
2021-09-30 18:08:37 +01:00
irbekrm 81bdabf67a Code review feedback
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 17:23:42 +01:00
irbekrm 3fa237cd5b Allows for Ingresses without class field set to be watched by Ingress controller
Because we need to support different versions and configurations

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:14:39 +01:00
irbekrm 7319d3392a Load kyverno image with Bazel
So that we don't pull the same image for each test run.

Also run helm install with --debug so that it outputs more information.

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:14:26 +01:00
irbekrm 485629e729 e2e tests by default create a k8s 1.22 cluster
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:14:14 +01:00
irbekrm 8370b08bd3 Bumps Bazel deps and ingress-nginx test image version
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:14:05 +01:00
irbekrm 4bab2f4b39 Enforces a minimum Bazel version
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:13:51 +01:00
irbekrm 5ff6e2d789 Changes required to use envtest from controller-runtime v0.10
Environment.CRDs is now a slice of apiextensionsv1.CustomResourceDefinitions instead of client.Object https://github.com/kubernetes-sigs/controller-runtime/pull/1626#discussion_r684454763

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:13:29 +01:00
irbekrm 7e9753c92e Fix CertificateRequest test
In Go 1.17 x509.CreateCertificate fails if public key doesn't match private key https://golang.org/doc/go1.17

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:08:40 +01:00
irbekrm 577757f282 Adds the new format of Go build tags to verify_boilerplate
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:08:30 +01:00
irbekrm cb6a746726 Runs ./hack/update-all.sh
New format of Go build tags gets added

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:08:19 +01:00
irbekrm 0889570722 Ensures conversion code temp workaround works for Go 1.17
Also refactor

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:08:09 +01:00
irbekrm 0679c33c3f Update kube libraries, regenerate go.mod/go.sum
Updates go.mod for Go 1.17

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:07:59 +01:00
irbekrm 3d6a89e456 Bumps Go 1.16 -> 1.17
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:07:50 +01:00
jetstack-botandGitHub d24702fb5f Merge pull request #4482 from wallrj/4380-stop-serving-deprecated-apis
Stop serving deprecated APIs
2021-09-29 15:22:05 +01:00
Richard Wall 481fc5e43a Force the "served: true" in the CRDs when used in integration tests
These tests still need to create legacy API versions.

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-29 14:32:35 +01:00
Richard Wall 41ef0e3f2b A note about testing the handling of errors relating to the ValidatingWebhook
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-29 13:05:53 +01:00
Richard Wall b71eb11fd1 A note about the relevance of conversion webhook unit-tests
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-29 13:02:44 +01:00
Richard Wall 969ca6d91a Use the v1 API rather than v1alpha2 in the API checker
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-29 12:54:42 +01:00
Richard Wall c6896b2f93 Set all non-v1 CRD versions as not-served
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-29 12:17:32 +01:00
jetstack-botandGitHub 898dc0e254 Merge pull request #4419 from artificial-aidan/master
Add Certificate RenewBefore prometheus metrics
2021-09-27 17:51:46 +01:00
Aidan Jensen 4d7f40b2cf Fix typo in test file also
Signed-off-by: Aidan Jensen <aidan@artificial.com>
2021-09-27 09:12:53 -07:00
jetstack-botandGitHub f4be63c208 Merge pull request #4465 from andrewmwhite/show-invalid-access-token
Clouldflare: Show API error messages (e.g., invalid access token)
2021-09-27 15:20:46 +01:00
jetstack-botandGitHub 5a8b970c97 Merge pull request #4456 from JoshVanL/vault-client-health-err-check
Vault internal client should check health conn err before checking response status
2021-09-27 13:07:46 +01:00
jetstack-botandGitHub 7352de4b6a Merge pull request #4474 from SgtCoDFish/imagebump
Update base images + update instructions for checking
2021-09-24 12:54:39 +01:00