James Munnelly
822b9e17a0
Remove AdditionalRunFuncs from base controller
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-30 20:43:00 +01:00
James Munnelly
881b886049
Update Kubernetes API client call-sites
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-26 12:58:50 +00:00
jetstack-bot
35add56ef5
Merge pull request #2625 from srbraun/crl
...
adds option to specify CRL Distribution Point. #2612
2020-03-23 13:33:32 +00:00
James Munnelly
acff2b12bb
Fix JKS keystore functionality and add additional tests
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-23 10:02:42 +00:00
Sergey Braun
9b76cdd402
adds CDP field and description to CA issuer
...
Signed-off-by: Sergey Braun <dev@skra.space>
2020-03-19 12:52:43 +01:00
srBraun
04bfddefc3
adds support for CDP to selfsigned issuer
...
Signed-off-by: srBraun <dev@skra.space>
2020-03-02 12:40:46 +01:00
Josh Soref
81aaf3d7d2
spelling: signing
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 17:20:49 -05:00
Josh Soref
08f7e24c74
spelling: invalid
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:43:19 -05:00
Josh Soref
77ebc73cc7
spelling: existing
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:42:37 -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
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
Maartje Eyskens
1ebc9ef56b
Properly sort imports
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-12 10:29:10 +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
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
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
1f7f23895d
Ensure fetched certificate is valid for CSRs public key before issuing
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-22 16:42:58 +00:00
jetstack-bot
fbab741817
Merge pull request #2513 from munnerz/add-v1alpha3
...
Create v1alpha3 API version
2020-01-20 16:37:31 +00:00
jetstack-bot
b7e83b5382
Merge pull request #2508 from JoshVanL/cr-invalid-request
...
CertificateRequest InvalidRequest
2020-01-20 14:17:31 +00:00
James Munnelly
72ea226b41
Update controllers to use validation registry
...
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
JoshVanL
b989f4e604
Remove cert-manager core issuers from marking CR as InvalidRequest
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-01-17 13:35:05 +00:00
Joshua Mathianas
cc802cc16e
made code review changes
...
Signed-off-by: Joshua Mathianas <mathianasj@gmail.com>
2020-01-17 07:31:25 -05:00
Joshua Mathianas
eed8f67587
fixed which namespace to find secret in based on if its a clusterissuer for venafi
...
Signed-off-by: Joshua Mathianas <mathianasj@gmail.com>
2020-01-16 12:19:49 -05:00
JoshVanL
c38466dc9c
Update certificate request controller sync_test.go
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-01-10 09:41:55 +00: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
de7aaa84d3
Update CertificateRequest controller unit tests
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-19 22:09:01 +00:00
JoshVanL
3bcc038c09
Check for Issuer readiness in CR controllers
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-19 20:31:44 +00:00
JoshVanL
d6248d20bd
Make vault issuer to point to resource namespace over certificaterequest
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-13 11:02:43 +00:00
JoshVanL
dc7cc388e1
Converts acme test to UpdateStatus
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:51:37 +01:00
JoshVanL
7965be9b41
Adds from comments
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:48:37 +01:00
JoshVanL
b6bce10b2f
Adds CommonName e2e tests for new behaviour
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:48:37 +01:00
JoshVanL
de07651142
Remote updatestatus todos and add minimal version to docs
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-30 13:47:51 +01:00
JoshVanL
94d077a5fb
Adds status sub resource and changes updates
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-30 13:47:50 +01:00
James Munnelly
f466aeea88
Fix govet warnings
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-27 12:07:08 +01:00
James Munnelly
973f4aa424
Update codebase for external dependencies
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 12:52:43 +01:00
JoshVanL
e1875bc8c5
Updates apis to v1alpha2/meta
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-23 18:20:56 +01:00
JoshVanL
f2f5fccb85
Addresses comments and makes vault auth pointers
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-23 13:54:48 +01:00
JoshVanL
05b5f44ff6
Updates vault certificaterequest controller test
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-23 13:43:19 +01:00
James Munnelly
7b7869ee04
Fixup test cases after hash change
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-23 12:31:16 +01:00
James Munnelly
f2f3aee50d
Update codebase for new API group
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-23 12:06:13 +01:00
James Munnelly
2868b4a7b7
Update pkg/controllers
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-23 10:07:53 +01:00
James Munnelly
bf9fbea23f
Update codebase for new meta apigroup
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 19:25:04 +01:00
James Munnelly
58754abf37
Refactor codebase for v1alpha2
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 16:22:43 +01:00
James Munnelly
79f2cd60f4
Pass down annotations from Certificate resources to Orders via CertificateRequests
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-19 16:38:43 +01:00