jetstack-bot and GitHub
2ebfdd29ec
Merge pull request #4716 from munnerz/allow-integration-with-delve
...
Re-organise and extend path loading logic to make it easier to run integration tests using Delve/GoLand
2022-01-06 19:25:23 +00:00
jetstack-bot and GitHub
65c41b3356
Merge pull request #4717 from SgtCoDFish/ginkgofromgomod
...
Install ginkgo version from go.mod rather than specifying an explicit version
2022-01-06 18:42:22 +00:00
jetstack-bot and GitHub
523e0c817a
Merge pull request #4711 from munnerz/upgrade-migrate-tool
...
Add 'cmctl upgrade migrate' tool to assist in v1.7 upgrade
2022-01-06 17:24:22 +00:00
Ashley Davis
168b47f1b0
install ginkgo version from go.mod, rather than explicit ver
...
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io >
2022-01-06 16:53:36 +00:00
James Munnelly
29f793aca8
Prefer RUNFILES_DIR if it is set
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 16:50:44 +00:00
James Munnelly
c841d01d68
Allow specify --qps and --burst
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 16:47:43 +00:00
James Munnelly
b3f14ef51d
Expand example usage text
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 16:42:39 +00:00
James Munnelly
4b257c1d72
Only mention upgrading to 1.0-1.6 once
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 16:39:07 +00:00
jetstack-bot and GitHub
a29cf92ae4
Merge pull request #4715 from SgtCoDFish/gobuildboilerplate
...
Match upstream boilerplate verification for files w/ go:build
2022-01-06 16:01:22 +00:00
James Munnelly
8ff84e8b70
Re-organise and extend path loading logic to make it easier to run integration tests using Delve/GoLand
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 15:22:39 +00:00
James Munnelly
35a96362a7
Rename command to 'migrate-api-version'
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 15:21:47 +00:00
James Munnelly
0f199173ba
Add missing copyright headers
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 15:08:48 +00:00
James Munnelly
1ae8fedc2d
Add additional test cases
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 15:08:15 +00:00
James Munnelly
22b2b3687a
Don't assume we are targetting 'v1'
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 15:07:27 +00:00
James Munnelly
c4d97e1f53
Indicate whether a migration was actually performed in Run
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 15:07:10 +00:00
James Munnelly
f6e3458837
Rename --force to --skip-stored-version-check
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 15:06:26 +00:00
Ashley Davis
5a5c94a3f1
match upstream boilerplate verification for files w/ go:build
...
the regex being replaced doesn't match files which only contain go:build
although as of go 1.17 (which we require for cert-manager) that's
totally valid.
this commit updates the regex to match upstream k8s, which is the
original source of the boilerplate verification script in any case
upstream:
https://github.com/kubernetes/kubernetes/blob/47ff335d4c678f8ebe12369055d4b3806d0fb9f4/hack/boilerplate/boilerplate.py#L219-L223
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io >
2022-01-06 14:57:21 +00:00
jetstack-bot and GitHub
7021be7a1f
Merge pull request #4714 from SgtCoDFish/install-ginkgo
...
Add install for ginkgo which is used for e2e tests
2022-01-06 14:50:23 +00:00
James Munnelly
5b50412d1e
Fix bug causing error to always be returned
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 14:07:58 +00:00
Ashley Davis
80648321f8
add install for ginkgo, used for e2e tests
...
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io >
2022-01-06 14:06:29 +00:00
jetstack-bot and GitHub
25b6728825
Merge pull request #4710 from SgtCoDFish/goimports
...
Add goimports verification and skeleton ci presubmit check
2022-01-06 14:02:22 +00:00
James Munnelly
b7b1baf565
Fix call to NewTestLogger after logr upgrade
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 13:18:57 +00:00
James Munnelly
8fa378fe01
Check to ensure the storage version or storedVersions have not unexpectedly changed before patching storedVersions
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 13:18:31 +00:00
James Munnelly
feca88bae5
Retry failed requests 3 times before giving up
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 13:18:31 +00:00
James Munnelly
eaa95ebf9e
Add integration test for 'upgrade migrate' command
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 13:18:31 +00:00
James Munnelly
438d74be15
Reorganise migrate command into a its own struct & add --force flag
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 13:18:31 +00:00
James Munnelly
0ca2db69a3
Print start time and how long it took to migrate resources
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 13:18:31 +00:00
James Munnelly
110604f1e5
Add 'cmctl upgrade migrate' tool to assist in v1.7 upgrade
...
Signed-off-by: James Munnelly <jmunnelly@apple.com >
2022-01-06 13:18:31 +00:00
jetstack-bot and GitHub
9f7f889312
Merge pull request #4690 from jetstack/cert-manager-addon-arm
...
build cert-manager images for arm on arm
2022-01-05 15:51:45 +00:00
Ashley Davis
1b3ac23659
add goimports verification and skeleton ci presubmit check
...
CI check will be built upon as Make is improved to reach testing partiy
with bazel
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io >
2022-01-05 15:28:38 +00:00
jetstack-bot and GitHub
3c9510b782
Merge pull request #4329 from jwenz723/patch-1
...
[Helm Chart] Add optional service annotations
2022-01-05 12:46:45 +00:00
jetstack-bot and GitHub
59c0b40721
Merge pull request #4703 from JoshVanL/test-e2e-feature-gate-piping
...
Pipes in the feature gates from environment to e2e binary
2022-01-05 10:44:44 +00:00
jetstack-bot and GitHub
97c4b7b8d3
Merge pull request #4705 from SgtCoDFish/goimports
...
Three small goimports fixes against current HEAD
2022-01-04 17:40:31 +00:00
Ashley Davis
727e29a747
three small goimports fixes against current HEAD
...
rather than using the default suggested `v1` names for some imports, we
use more descriptive names
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io >
2022-01-04 16:05:42 +00:00
jetstack-bot and GitHub
fd40b10c80
Merge pull request #4706 from SgtCoDFish/bumpbaseimages
...
Bump base images
2022-01-04 15:57:31 +00:00
jetstack-bot and GitHub
019d64edcf
Merge pull request #4688 from irbekrm/renew_failed
...
Fixes a bug where a previous failed CertificateRequest was picked up during next issuance
2022-01-04 15:08:31 +00:00
Ashley Davis
b2e63dbed3
bump base images
...
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io >
2022-01-04 14:49:15 +00:00
joshvanl
c600ba07a0
Pipes in the feature gates from environment to e2e binary. Test for
...
shared feature gate existence within CertificateSigningRequest suite
test
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com >
2022-01-04 13:17:06 +00:00
jetstack-bot and GitHub
381e4fecc4
Merge pull request #4699 from irbekrm/helm_values_update_extraargs
...
Helm values cleanup
2022-01-04 11:50:30 +00:00
irbekrm
0a4617e582
Fix staticcheck error
...
Signed-off-by: irbekrm <irbekrm@gmail.com >
2022-01-04 10:11:04 +00:00
irbekrm
f4452f1cfa
Fix some flag descriptions
...
Signed-off-by: irbekrm <irbekrm@gmail.com >
2021-12-31 09:15:32 +00:00
irbekrm
f9a9326483
Add comments on how to view all available flags for cert-manager binaries
...
Signed-off-by: irbekrm <irbekrm@gmail.com >
2021-12-31 09:15:14 +00:00
irbekrm
e500109bea
Removes example setting of --cluster-resource-namespace flag from extra args
...
As there is already a top level clusterResourceNamespace key in Helm values that sets the same flag
Signed-off-by: irbekrm <irbekrm@gmail.com >
2021-12-31 09:04:05 +00:00
Joakim Ahrlin
6205cd3702
build images with host architecture
...
Signed-off-by: Joakim Ahrlin <joakim.ahrlin@gmail.com >
2021-12-23 09:54:08 +01:00
jetstack-bot and GitHub
725705cde5
Merge pull request #4689 from irbekrm/k_123
...
Uses upstream kind image for creating Kubernetes 1.23 cluster
2021-12-22 16:34:16 +00:00
irbekrm
81a4df9118
Defaults test cluster to kube 1.23
...
Signed-off-by: irbekrm <irbekrm@gmail.com >
2021-12-22 15:39:17 +00:00
irbekrm
e58ca97245
Uses upstream kind image with kube 1.23
...
Also bumps kind image for kube 1.22
Signed-off-by: irbekrm <irbekrm@gmail.com >
2021-12-22 15:38:45 +00:00
irbekrm
fac6622f5e
Delete CertificateRequest that failed during previous issuance if we are re-issuing for the same revision
...
Signed-off-by: irbekrm <irbekrm@gmail.com >
2021-12-22 14:54:55 +00:00
irbekrm
ff67b2a9a0
Ignore failed CRs for previous issuance in certificates-issuing controller
...
Issuing controller should only look at 'current' CertificateRequests
Signed-off-by: irbekrm <irbekrm@gmail.com >
2021-12-22 14:51:25 +00:00
jetstack-bot and GitHub
dcae27d09b
Merge pull request #4680 from SgtCoDFish/toolchecks
...
make: Don't write tools if hash doesn't match
2021-12-22 08:32:16 +00:00