Commit Graph
6152 Commits
Author SHA1 Message Date
jetstack-botandGitHub 5ecf5b5617 Merge pull request #4572 from jetstack-bot/cherry-pick-4569-to-release-1.6
[release-1.6] cmctl status was fetching v1beta1 orders instead of v1
v1.6.1
2021-10-29 16:00:58 +01:00
Maël Valaisandjetstack-bot 486ca7cea2 cmctl status was fetching v1beta1 orders instead of v1
Signed-off-by: Maël Valais <mael@vls.dev>
2021-10-29 14:25:49 +00:00
jetstack-botandGitHub 588253ce4b Merge pull request #4564 from jetstack-bot/cherry-pick-4563-to-release-1.6
[release-1.6] Update keystore-go library version
2021-10-28 11:41:43 +01:00
Ashley Davisandjetstack-bot e30ec16164 update keystore-go library version
Following the release of cert-manager v1.6.0, it was observed that an
update to the keystore-go library was backwards-incompatible; it
introduced a 6-character minimum length on passwords which wasn't
previously in force.

This led to https://github.com/pavel-v-chernykh/keystore-go/issues/30
which in turn led to https://github.com/pavel-v-chernykh/keystore-go/pull/31

This commit bumps to use the new version, which by default doesn't have
a min password length

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-10-28 10:06:32 +00:00
jetstack-botandGitHub 49914a057b Merge pull request #4523 from JoshVanL/ctl-release-tars-cmctl-kubectl
cmctl and kubectl-cert_manager to release targets
v1.6.0 v1.6.0-beta.0
2021-10-15 12:26:29 +01:00
jetstack-botandGitHub 2796157ad7 Merge pull request #4522 from JoshVanL/ctl-build-time-name-configure
Allow configuring the CLI command name and whether the completion command is registered at build time.
2021-10-15 11:35:30 +01:00
jetstack-botandGitHub 153874be77 Merge pull request #4409 from JoshVanL/ctl-runtime-completion
CLI runtime object completion
2021-10-15 10:00:30 +01:00
joshvanl b45482355c Fix cobra test now cmctl is the default CLI name
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-10-14 16:36:50 +01:00
joshvanl 64feb85490 Adds bazel to build and release cmctl, along with kubectl-cert_manager
binary

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-10-14 15:49:46 +01:00
joshvanl e9165e1e1c Fix cobra tools test
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-10-14 15:30:54 +01:00
joshvanl ce1424162e Updates all sub commands to discover the CLI name using the build
package name

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-10-14 14:45:01 +01:00
joshvanl 5f5217b412 Updates command registration to use new commands package. Name CLI
command by the build name.

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-10-14 14:44:19 +01:00
joshvanl 2f99b3130c Adds build/commands package to expose which commands should be
registered. Gates the completion command which is disabled by defualt.
Can be configured at build time.

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-10-14 14:43:05 +01:00
joshvanl bbd39de0fc Adds build package to allow discovering the correct name of the CLI
command. Can be configured at build time.

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-10-14 14:42:10 +01:00
joshvanl bae35d8adb Add ValidArgs functions to all commands to allow auto-completion of
runtime object names

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-10-14 13:20:31 +01:00
jetstack-botandGitHub 6fb00216e4 Merge pull request #4508 from wallrj/bazel-profiling
Add timestamps to bazel build output
2021-10-13 17:53:21 +01:00
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