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-bot
6fb00216e4
Merge pull request #4508 from wallrj/bazel-profiling
...
Add timestamps to bazel build output
2021-10-13 17:53:21 +01:00
jetstack-bot
89bc977eb2
Merge pull request #4408 from JoshVanL/ctl-generate-completion
...
Adds generate completion scripts for bash, zsh, fish, and powershell
2021-10-11 16:02:14 +01:00
jetstack-bot
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-bot
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-bot
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-bot
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-bot
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-bot
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-bot
98529958e2
Merge pull request #4484 from wallrj/dependabot-suggested-updates
...
Address some Dependabot security alerts
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-bot
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-bot
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