Commit Graph

1835 Commits

Author SHA1 Message Date
Maartje Eyskens
136085ac6b Fix conversion (insert facepalm here)
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-26 19:03:15 +02:00
Maartje Eyskens
697fe1052a DIY conversions for admissions
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-26 17:52:28 +02:00
Maartje Eyskens
3a814e878b Run bazel updates
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-26 14:29:06 +02:00
Maartje Eyskens
14ea7c3f65 Update k8s toolchain to 0.19.0-rc.3
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-26 14:15:54 +02:00
jetstack-bot
dcfc5f4210
Merge pull request #3215 from meyskens/acme-backoff-func
Provide a backoff function to ACME
2020-08-26 12:29:35 +01:00
jetstack-bot
6a2f9538fc
Merge pull request #3208 from meyskens/acme-multi-chain
Add support for alternate certs with PrefferedChain in ACME
2020-08-26 12:03:35 +01:00
Maartje Eyskens
c81531d90d Implement feedback
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-26 10:22:01 +02:00
Maartje Eyskens
efb5c25928 Make it always error if retry-after is set
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-25 16:43:18 +02:00
Maartje Eyskens
e477ea015b Provide a backoff function to ACME
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-25 16:37:37 +02:00
Maartje Eyskens
824e075bf8 fmt
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-24 17:45:52 +02:00
Maartje Eyskens
75e31fe54c Add a unit test for alt chains
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-24 17:33:27 +02:00
Maartje Eyskens
abc4675bae Fix interface
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-24 14:54:03 +02:00
jetstack-bot
c62df48680
Merge pull request #3207 from wallrj/3159-move-acme-label-keys
Move ACME label keys to the external API package
2020-08-24 09:49:01 +01:00
Lars Lehtonen
aab6b479c5
pkg/controller/certificates/internal: fix dropped test errors
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2020-08-21 21:39:29 -07:00
Maartje Eyskens
90d6a54151 Add support for alternate certs with PrefferedChain in ACME
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-21 17:56:26 +02:00
Richard Wall
350eff1b55 Move ACME label keys to the external API package
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-21 12:31:10 +01:00
jetstack-bot
85a9044c0c
Merge pull request #3205 from JoshVanL/ctl-convert-list
Add support for ctl convert over a list
2020-08-21 12:21:43 +01:00
JoshVanL
1c9e955407
Add support for ctl covert with List
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-08-21 10:40:57 +01:00
Richard Wall
55514f048c Move Venafi Pickup ID annotation key to the external API package
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-21 10:27:47 +01:00
Haoxiang Zhou
1d8de37c81 Use v1 API
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-21 10:17:23 +02:00
Haoxiang Zhou
acaea2d96e Rename field to DisableAccountKeyGeneration
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-21 09:55:21 +02:00
Haoxiang Zhou
4cb01a3c4e Add new field for v1 API as well
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-21 09:55:21 +02:00
Haoxiang Zhou
4c70bd75d1 Change internal API and conversion functions
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-21 09:55:21 +02:00
Haoxiang Zhou
9512a38113 Change behaviour according to onlyUseExistingAccountKey field
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-21 09:55:21 +02:00
Haoxiang Zhou
c146171a80 Add onlyUseExistingAccountKey field to ACMEIssuer API
Signed-off-by: Haoxiang Zhou <haoxiang.zhou@jetstack.io>
2020-08-21 09:55:21 +02:00
Richard Wall
1a58bce096 Consistent versioned import aliases in pkg/api/scheme.go
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 17:32:57 +01:00
Richard Wall
dbc3d95b92 Fix an import alias that still called v1alpha1
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 17:13:48 +01:00
Richard Wall
821d824cc2 Revert renaming of CSR > Request in comments and in error messages
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:07 +01:00
Richard Wall
bd94bf92a5 cmapiv1 > cmapi
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall
3fb3db27ff Fix ACME challenge type in unit tests
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Maartje Eyskens
5aba6f956b Fix ACME
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-20 14:28:06 +01:00
Richard Wall
4c8d12badf Update storage version
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall
01b5d0fa88 Fix tests in ./pkg/controller/certificates/...
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall
758131ada2 Fix tests in github.com/jetstack/cert-manager/pkg/controller/acmeorders
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall
5d936930e6 Revert an accidental change of CSR > Request
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall
9cca8a1da4 Update hash based API resource names to account for changed API
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall
81eb53f597 ./hack/update-all.sh
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall
a70298180a Run a script to update v1alpha2 usage to v1
Script is available at https://github.com/jetstack/cert-manager/pull/3201

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:26:51 +01:00
Richard Wall
a99886a676 Re-instate the DefaultKeyUsages function
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-19 12:27:29 +01:00
Richard Wall
6e7e3ad20c Re-instate v1.GenericIssuer
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-19 11:48:56 +01:00
Maartje Eyskens
351c03a66d Add better error
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-17 09:29:23 +02:00
Maartje Eyskens
0d14b65b8e Fix conversion of the conversion
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 20:29:10 +02:00
Maartje Eyskens
70aa8f1ebb fix unit test
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 20:18:19 +02:00
Maartje Eyskens
f2aad8b6ff run update all
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 20:06:48 +02:00
Maartje Eyskens
19cc376f79 support v1 conversion webhooks
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 20:04:19 +02:00
Maartje Eyskens
82784ac070 Add apiextensions.k8s.io/v1 CRDs
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Run update

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Add back helm things

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Let bazel handle the both types

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Add back additionalPrinterColumns

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Add subresources: status: {}

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

re-add short names

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Update conversion

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

fix deploy

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-14 19:25:10 +02:00
Richard Wall
2b1e1d1d2b Remove deprecated issuer related annotation key constants from the API
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-14 17:07:36 +01:00
Richard Wall
8beeac1187 Rename Certificate.Spec.URISANs to URIs and EmailSANs to EmailAddresses
For consistency with DNSNames and IPAddresses
And for consistency with https://golang.org/pkg/crypto/x509/#Certificate

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-14 17:02:53 +01:00
Richard Wall
f605da002f ./hack/update-all.sh
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-13 21:43:36 +01:00
Richard Wall
5e2c3ce722 Set up for v1 API
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-13 21:43:36 +01:00