Commit Graph

1466 Commits

Author SHA1 Message Date
Josh Soref
8d801fc100 spelling: certificate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:15:51 -05:00
Josh Soref
05b3c8a21f spelling: because
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:15:23 -05:00
Josh Soref
b93d64c09d spelling: authorizations
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:15:18 -05:00
Josh Soref
ec5da97f2b spelling: account
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:14:20 -05:00
jetstack-bot
56673bab40
Merge pull request #2611 from munnerz/ingress-shim-duplicate-secretname
Only allow a single TLS entry per secret name in an Ingress resource
2020-02-21 14:27:22 +00:00
James Munnelly
eccd7b3faf Only allow a single TLS entry per secret name in an Ingress resource
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-02-21 09:52:23 +00:00
James Munnelly
9ae1533a74 Truncate message displayed to user if fetched key does not match presented key
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-02-19 23:50:44 +00:00
James Munnelly
5ed2c55006 ingress-shim: add unit tests for events
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-02-18 18:14:44 +00:00
jetstack-bot
672f7654a7
Merge pull request #2573 from meyskens/venafi-custom-fields
Add venafi.cert-manager.io/custom-fields annnotation
2020-02-17 12:24:24 +00:00
Maartje Eyskens
bd45eb2acd Add a note on minimum TPP version
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-13 08:21:08 +01:00
Maartje Eyskens
02fb35bbc9 Update bazel
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-12 11:37:56 +01:00
Maartje Eyskens
d40f010180 Error on an invalid custom field type
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-12 11:34:28 +01:00
JoshVanL
d784453ada
Sets KeySize openapi schema max/min validation
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-02-12 10:17:48 +00:00
Maartje Eyskens
09d45e1d28 Error on an invalid custom field type
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-12 10:52:47 +01:00
Maartje Eyskens
460189c26a Fix comment
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-12 10:43:21 +01:00
Maartje Eyskens
b3c4dd2ba8 Implement our own CustomFieldType
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-12 10:41:19 +01:00
Maartje Eyskens
1ebc9ef56b Properly sort imports
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-12 10:29:10 +01:00
jetstack-bot
f9c23dcb8f
Merge pull request #2556 from munnerz/release-tars
Add release-tars targets to construct cert-manager release artifacts
2020-02-10 16:10:13 +00:00
James Munnelly
a4fb7922d9 Remove un-needed json tag on internal type
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-02-10 12:17:38 +00:00
James Munnelly
faffe3c600 Update certificaterequest condition doc comment for InvalidRequest
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-02-10 12:15:09 +00:00
jetstack-bot
d0d76e1b2c
Merge pull request #2584 from meyskens/add-commonname-mote
Add note that CommonName is not looked at when any SAN is set
2020-02-10 12:05:12 +00:00
jetstack-bot
e5bf177726
Merge pull request #2574 from JoshVanL/webhook-cert-bootsrap-single-reconcile
Webhook cert bootsrap single reconcile
2020-02-10 11:36:25 +00:00
Maartje Eyskens
47368f719b Add copyright
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-07 11:33:59 +01:00
Maartje Eyskens
b780d78f75 Update Bazel
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-07 10:55:49 +01:00
Maartje Eyskens
de2abd63d8 Remove bad bazel file change
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-07 10:10:59 +01:00
Maartje Eyskens
5d4054067e Add missing bazel file
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-07 10:07:46 +01:00
Maartje Eyskens
3c09a7b80c Document more info on CN behaviour
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-07 09:22:24 +01:00
Maartje Eyskens
292d7f1e61 Update vcert
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-07 09:19:24 +01:00
Maartje Eyskens
368621a0a4 Add note that CommonName is not looked at when any SAN is set
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-06 18:01:41 +01:00
Maartje Eyskens
12d77f5ed2 Merge branch 'master' into venafi-cloud-optional-url
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-06 16:18:42 +01:00
Maartje Eyskens
1eb4fc6846 Create internalvanafiapi to prevent cyclic imports
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-06 11:11:37 +01:00
Maartje Eyskens
e040d4f284 Implement feedback
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-06 10:32:06 +01:00
Maartje Eyskens
15b9a940e7 Add tests for custom fields inside internal/venafi
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-05 16:14:49 +01:00
Maartje Eyskens
ae742c588e Add tests for custom fields inside certificaterequest controller
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-05 15:36:30 +01:00
Maartje Eyskens
93f0cfa717 Use internal CustomField to add json tags
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-05 14:12:16 +01:00
Maartje Eyskens
42f3bca6ef Move annotation to apis
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-05 14:08:41 +01:00
JoshVanL
0e18ba7b1d
Run a First func for webhook secret bootstrap and catch recursive unit
test

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-02-05 11:49:31 +00:00
JoshVanL
e9c04b57d9
Adds a First function to controllers which run after initialisation
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-02-05 11:48:20 +00:00
JoshVanL
72d6d030c8
Adds Create expected action to webhook bootstrap tests due to always
Create being attempted

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-02-04 17:34:00 +00:00
JoshVanL
c940b30ac1
Added comment around recursive function call and cleans up Create/Update
code

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-02-04 16:59:48 +00:00
James Munnelly
c8cb23a1dc Remove json field tags from internal API structs
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-02-04 16:10:43 +00:00
JoshVanL
fa75ced013
Updates webhook bootstrap tests to for new single reconcile key/cert
generation

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-02-04 14:49:26 +00:00
JoshVanL
e58022462e
Moves key generation to same reconcile as webhook certificate signing to
do single creation/update of Secret

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-02-04 14:48:45 +00:00
Maartje Eyskens
6ecc07ba26 Update bazel
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-04 15:37:40 +01:00
Maartje Eyskens
4452fbd9a8 Add venafi.cert-manager.io/custom-fields annnotation
This adds the venafi.cert-manager.io/custom-fields annotation to CertificateRequest.
The JSON decoded value of this annotation will be passed to the Venafi customfields on signing.

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-04 15:15:43 +01:00
James Munnelly
5b9cd23d0f Make the Venafi Cloud URL field optional
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-02-03 18:18:38 +00:00
Will Thames
e1bf54d0e3 Add cipher suites configuration and defaults
Add a --tls-cipher-suites command line flag and set to sensible
defaults.

Signed-off-by: Will Thames <will@thames.id.au>
2020-02-03 22:57:59 +10:00
James Munnelly
22f4f1e1f2 Add release-tars targets to construct cert-manager release artifacts
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-30 21:02:58 +00:00
jetstack-bot
33051b0c66
Merge pull request #2531 from munnerz/move-organizations
v1alpha3: move Organization field into X509Subject as Organizations
2020-01-29 10:17:54 +00:00
James Munnelly
877e1dd672 Move Organization field into X509Subject as Organizations
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-29 09:06:45 +00:00