Commit Graph
116 Commits
Author SHA1 Message Date
jetstack-botandGitHub 00b101de76 Merge pull request #2597 from meyskens/emailsans
Add Email SANs
2020-03-03 16:31:56 +00:00
Maartje Eyskens 267ac50ff0 Update unit tests fir new errors
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-03-03 13:44:22 +01:00
Maartje Eyskens 96b54bfdac Implement feedback
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-03-03 11:24:25 +01:00
Josh Soref 37886f0d3d spelling: [API] netscape
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:44:22 -05:00
Josh Soref dcda4018bb spelling: retrieve
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 17:20:35 -05:00
Josh Soref c36e58f999 spelling: nameserver
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:44:01 -05:00
Josh Soref 642ae835ee spelling: invalid-venafi
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 17:33:25 -05:00
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 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
Maartje Eyskens d3a623314c Add EmailSANs field
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-21 08:49:00 +01:00
jetstack-botandGitHub 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 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 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
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
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 5d4054067e Add missing bazel file
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-07 10:07:46 +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 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 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 93f0cfa717 Use internal CustomField to add json tags
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-05 14:12:16 +01: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
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
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
jetstack-botandGitHub fbab741817 Merge pull request #2513 from munnerz/add-v1alpha3
Create v1alpha3 API version
2020-01-20 16:37:31 +00:00
jetstack-botandGitHub eec3f3633c Merge pull request #2506 from periklis/use-vault-modules
Use vault api and sdk modules instead of tagged repo
2020-01-20 15:55:31 +00:00
jetstack-botandGitHub b7e83b5382 Merge pull request #2508 from JoshVanL/cr-invalid-request
CertificateRequest InvalidRequest
2020-01-20 14:17:31 +00:00
Periklis Tsirakidis a1f63b953d Use vault api and sdk modules instead of tagged repo
Signed-off-by: Periklis Tsirakidis <periklis@nefeli.eu>
2020-01-20 12:27:09 +01:00
James Munnelly 0046036460 Add validation registration functions to API groups
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-20 10:05:54 +00:00
James Munnelly ef72b0d866 Add validation registry package
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-20 10:05:54 +00:00
James Munnelly 511bddc953 Update apigroup validation to use internal types
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-20 10:05:54 +00:00
James Munnelly 50da07292a Add GenericIssuer interface to internal API
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-20 10:05:54 +00:00
James Munnelly 7af9fb0006 Register new apiVersion with schemes
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-20 10:05:54 +00:00
James Munnelly 0f1d7cf755 Copy apis directories for v1alpha3
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-20 10:05:54 +00:00
JoshVanL 2f3fe4c3d7 Reduce comments by removing invalid data in CR implementations doing
better InvalidRequest checking

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-01-17 14:11:25 +00:00
Joshua Mathianas 05ff21250d Updates plural names and destination attribute name to match source
Signed-off-by: Joshua Mathianas <mathianasj@gmail.com>
2020-01-16 10:30:20 -05:00
Joshua Mathianas 9ee6ea7b7d Fixed a typo and ran generators
Signed-off-by: Joshua Mathianas <mathianasj@gmail.com>
2020-01-16 09:49:40 -05:00
Joshua Mathianas b096e0f0af Made requested changes from review
Signed-off-by: Joshua Mathianas <mathianasj@gmail.com>
2020-01-16 09:41:16 -05:00
Joshua Mathianas e33e28c4fd add backwards compatability for using existing common name or organization if x509name ones are not set
add ability to specify more subject attributes for csr

Signed-off-by: Joshua Mathianas <mathianasj@gmail.com>
2020-01-16 07:50:26 -05:00
JoshVanL 1c9557b729 Adds InvalidRequest condition set to CertificateRequest controllers
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-01-09 15:13:54 +00:00
JoshVanL 0c50cc166a Adds InvalidRequest condition to CertificateRequest
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-01-09 15:12:55 +00:00
James Munnelly d3b785c263 Bump generated files copyright header year
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-07 12:43:44 +00:00
James Munnelly 5c4e27830f Use enum for HMAC algorithm field
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-12-11 12:28:49 +00:00