Commit Graph

6321 Commits

Author SHA1 Message Date
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
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
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
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
jetstack-bot
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
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
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
fd40b10c80
Merge pull request #4706 from SgtCoDFish/bumpbaseimages
Bump base images
2022-01-04 15:57:31 +00:00
jetstack-bot
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
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
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
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
jetstack-bot
404e8e0417
Merge pull request #4677 from irbekrm/tpp_e2e
Mark Venafi TPP [Cluster]Issuer tests with 'Venafi TPP'
2021-12-21 16:50:19 +00:00
jetstack-bot
660184552c
Merge pull request #4675 from munnerz/k8s-0.23.1
Upgrade k8s.io dependencies to v0.23.1
2021-12-21 16:18:20 +00:00
jetstack-bot
119b6685b9
Merge pull request #4674 from SgtCoDFish/licenselink
Add a specific link to the LICENSES file in the repo
2021-12-21 08:37:19 +00:00
Ashley Davis
5a261d789a
move checksum verification to tool target over temp target (#4678)
when on temp target, the object being verified will still be written and
so a second invocation of `make tools` will succeed and install an
unverified version

For more information see attached issue

Fixes #4678

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-12-20 14:39:59 +00:00
Ashley Davis
ef26e7974e
always embed version number into temporary downloaded tools artifacts
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-12-20 14:35:40 +00:00
irbekrm
7290892506 Mark Venafi TPP [Cluster]Issuer tests as TPP specific
So that in test logs they can be distinguished from Venafi Cloud tests

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-12-20 10:07:07 +00:00
James Munnelly
5d7df17a24 pkg/webhook/authority: extract logger from context
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-12-17 18:52:26 +00:00
James Munnelly
bdb06ae55b Fix failing unit test
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-12-17 18:32:27 +00:00
James Munnelly
29c797cfb4 Run update-codegen.sh
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-12-17 18:13:44 +00:00
James Munnelly
8f1fb874ed Run update-codegen in module mode
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-12-17 18:13:44 +00:00
James Munnelly
81f22fd49c Upgrade k8s.io dependencies to v0.23.1
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-12-17 16:27:47 +00:00
Ashley Davis
9efd933c40
add a specific link to the LICENSES file in the repo
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-12-17 15:23:50 +00:00
jetstack-bot
52bba1dcdb
Merge pull request #4656 from TerryHowe/helm-ignore
Minor clean-up to helm chart
2021-12-17 12:21:13 +00:00
jetstack-bot
3b3e661d7f
Merge pull request #4669 from munnerz/update-runc
Update runc dependency to 1.0.3
2021-12-17 11:20:13 +00:00
jetstack-bot
0b8eba629c
Merge pull request #4554 from SgtCoDFish/maker
Makefile flow
2021-12-17 10:37:13 +00:00
jetstack-bot
cc49bc232c
Merge pull request #4667 from wallrj/move-deprecated-api-structs
Stop exporting deprecated API types; move them to an internal package
2021-12-16 16:37:09 +00:00
Richard Wall
57ba9bd71c Register the deprecated API kinds
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-12-16 16:04:01 +00:00
James Munnelly
2041994b12 Update runc dependency to 1.0.3
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-12-16 15:45:25 +00:00
Richard Wall
43cdb6233f Fix cmacme import path
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-12-16 14:52:30 +00:00