James Munnelly
3f9c031f5d
Update integration & unit tests for new CRD generation
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-04-01 18:22:35 +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
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
7af9fb0006
Register new apiVersion with schemes
...
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
Maartje Eyskens
98ca10b5ba
Update bazel
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-01-16 12:28:15 +01:00
Maartje Eyskens
0e1f64a337
Do not change crt.Name
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-01-16 12:07:45 +01:00
Maartje Eyskens
dbac7cf1fb
Use correct regexp package
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-01-16 12:03:58 +01:00
Maartje Eyskens
3212e446e5
Fix issue in ComputeCertificateRequestName when 52nd is a dot
...
This strips any symbols at the end of a shortened domain name in ComputeCertificateRequestName.
It also adds tests for the specific util function
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-01-16 11:49:28 +01:00
JoshVanL
0c50cc166a
Adds InvalidRequest condition to CertificateRequest
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-01-09 15:12:55 +00:00
JoshVanL
192566d789
Adds conversion for key usage int to string
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-05 14:22:25 +00:00
JoshVanL
869370e226
Cleans up code and naming
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-26 17:35:52 +01:00
JoshVanL
ced21c287f
Conformance: Ensure if a certificate is deleted then a new certificate is signed with
...
same key
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-26 17:34:42 +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
James Munnelly
68cf0c0fcc
Add ACME apigroup to scheme
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-23 10:07:53 +01:00
James Munnelly
4f32c680dd
Register meta api group with scheme
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 19:25:04 +01:00
James Munnelly
cf7f86d947
Refactor codebase to use 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
stuart.warren
7eb1e34e48
feat: enable certificate keyusages
...
Enable users to request x509 key usages and extended key usages when
defining a certificate or certificate signing request
fixes : #301
Signed-off-by: stuart.warren <stuart.warren@ocado.com>
2019-08-31 01:00:00 +01:00
James Munnelly
504d2f911d
Cleanup scheme building and add comments
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-21 13:11:01 +01:00
JoshVanL
ab346453e3
Moves DefaultCertDruation to ./api/util/duration.go
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
7e56ce1c01
Adds CR reporter tests and cleans up code
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-13 17:24:38 +01:00
JoshVanL
eed1e4ba21
Move certificates cr controller to use a switch on condition status
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-13 12:10:13 +01:00
JoshVanL
d7ada47686
Retry failed CertificateRequests in the Certificate controller based on
...
FailureTime of the CertificateRequest status
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-12 14:03:37 +01:00
JoshVanL
f8c617a582
Adds failure time to CertificateRequest Status
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-12 12:41:54 +01:00
JoshVanL
f8c511a705
Address ca sign returning error
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-23 12:06:30 +01:00
JoshVanL
bccb6541b1
Return nil, if CR failed. Update tests and remove dead code
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-04 14:26:08 +01:00
JoshVanL
98d5725eea
WIP, add CertificateRequest e2e tests
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-03 15:59:05 +01:00
JoshVanL
6b1ff0148b
Adds certificate request base controller and CA issuer controller
...
instance
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-03 15:42:03 +01:00
Solly Ross
95ac5a498c
Add support for CRDs to the CA injector
...
This adds support for the CRD conversion webhook configuration to the CA
injector controller.
Signed-off-by: Solly Ross <sollyross@google.com>
2019-06-13 13:31:42 -07:00
James Munnelly
1268f76690
Make lastTransitionTime a pointer
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-02 14:59:52 +01:00
James Munnelly
fe01847182
Register webhook group with cert-manager scheme
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 12:34:06 +01:00
James Munnelly
25af59a0d5
Use v1beta1 API version in cainjector controller
...
This resolves issues when running the cainjector on Kubernetes 1.9,
as the 1.9 apiserver is not aware of the 'v1' API version.
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-24 11:19:24 +01:00
James Munnelly
f4c0de2627
Define pkg/api.Scheme with all used types registered
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-03-12 14:24:51 +00:00
James Munnelly
c3f696fa1a
Add support for Venafi API types to certificates controller
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-03-01 13:00:55 +00:00
James Munnelly
2f30258f0e
Switch to klog
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 12:34:02 +00:00
James Munnelly
a9d8f7de8a
Fixup for Kubernetes 1.13.2
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 11:53:19 +00:00
James Munnelly
0bde3dacba
Create pkg/api/util and re-arrange controller instantiation code
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:25:54 +00:00
James Munnelly
948a2cf77c
Add more OWNERS files with auto-labels
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-24 19:38:31 +00:00
James Munnelly
0fcc0c666c
Update copyright header year
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 15:07:55 +00:00
James Munnelly
db65d6a170
run //hack:update-bazel
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:48 +01:00
James Munnelly
51195e4c5f
Update license header and add header to every file
...
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2018-08-13 15:53:37 +01:00
James Munnelly
fa7e052ac1
Move to github.com/jetstack/cert-manager repo
2017-11-03 16:41:39 +00:00