joshvanl
e804431dba
Fire event for informational purposes when the CertificateRequest has not yet been approved.
...
Signed-off-by: joshvanl <me@joshvanl.dev>
2022-10-23 18:04:58 +01:00
Ashley Davis
3a055cc2f5
rename all uses of github.com/jetstack/cert-manager
...
This was done by running the following command twice:
```bash
grep -Ri "github.com/jetstack/cert-manager" . | \
cut -d":" -f1 | \
sort | \
uniq | \
xargs sed -i
"s/github.com\/jetstack\/cert-manager/github.com\/cert-manager\/cert-manager/"
```
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-02-02 09:08:31 +00:00
joshvanl
bd18c0ed86
Update CertificateRequest controllers to use new controller factory
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-27 12:51:49 +00:00
irbekrm
7e9753c92e
Fix CertificateRequest test
...
In Go 1.17 x509.CreateCertificate fails if public key doesn't match private key https://golang.org/doc/go1.17
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:08:40 +01:00
joshvanl
e05adbf06b
Remove expected events when Ready Denied condition set
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-04-09 18:20:07 +01:00
joshvanl
50a84eaf1d
Sets the Ready condition to False when a request is Denied
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-04-09 15:34:32 +01:00
joshvanl
32d0c5af4e
Updates Approved/Denied tests for new reasons
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-17 13:10:39 +00:00
joshvanl
a3e63b1787
Update CertificateRequest controllers to use new Denied type, and add
...
tests for when a CertificateRequest is denied
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-17 13:10:39 +00:00
joshvanl
1d758a5ccf
Updates the base CertificateRequest controller to first check for the
...
approval condition to be present and set to true, before processing
further
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-17 13:10:39 +00:00
joshvanl
235adea826
Remove CertificateRequest validation in CertificateRequest controllers
...
as this happens at admission time.
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-02-08 19:20:57 +00:00
Maartje Eyskens
ab0cd57dc5
Use The cert-manager Authors.
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-12-11 19:04:13 +01:00
Maartje Eyskens
1788a9d758
Update copyright to cert-manager project
...
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-12-08 19:04:49 +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
James Munnelly
1a2c676c61
Rename certificaterequest.spec.csr to 'request'
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-02 12:02:47 +01:00
James Munnelly
1adfe16690
Bulk fix of non-test staticcheck failures
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-06-26 12:25:08 +01: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
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
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
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
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
1b8a286206
Rename Setup->Init and use Start to start informers
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-22 13:11:33 +01:00
JoshVanL
92a6e32a73
Remove the possibility to set the generic CR controller to set issuance
...
pending
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 13:20:57 +01:00
JoshVanL
2948280f01
Fixes CR condition reporting and cleans up main sync tests
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-14 21:17:18 +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
0361a83c20
Fix reporter not setting correct conditions
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-13 10:02:53 +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
dbbce3e278
Updates certificaterequest/sync_test.go for new Sign method
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-01 11:52:54 +01:00
James Munnelly
cee2af6281
Set fixedClock on test builders
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-26 15:24:01 +01:00
James Munnelly
489feb3c30
Rename request->certificateRequest
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-25 16:35:23 +01:00
James Munnelly
8047b4a5b9
Use test builder directly in CertificateRequest controller
...
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-25 15:59:17 +01:00
JoshVanL
425dbd993c
Revert CR unit tests to SelfSigned
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-23 14:21:56 +01:00
JoshVanL
ab838197fc
Move CA signer into ./pkg/controller/certificaterequests/ca
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-23 09:27:22 +01:00
JoshVanL
6faa657483
Prefixes error->reason and correctly bubbles issuer kind to logs
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-17 09:42:59 +01:00
JoshVanL
8bbcf345c9
Changes CertificateRequest conditions to only Pending/Failed/Issued
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-16 15:31:12 +01:00
JoshVanL
c949b01aac
Adds Group to CertificateRequest IssuerRef to distinguish controller
...
ownership
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-08 14:33:11 +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
3997d8b4fe
Adds more sync tests to CertificateRequest controller
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-03 15:43:33 +01:00
JoshVanL
80091063a1
Cleanup validation, logging and status reporting
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-03 15:43:33 +01:00
JoshVanL
3cc31075ef
Fixes CertificateRequest controller tests
...
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-03 15:43:14 +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