JoshVanL
|
8be302dc10
|
Moves fake lister into /test and removes logging from reporter
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2019-08-01 13:44:19 +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 |
|
JoshVanL
|
480347aa26
|
Creates CR reporter util and updates ca_test.go
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2019-08-01 11:29:11 +01:00 |
|
jetstack-bot
|
222d46ab99
|
Merge pull request #1735 from kragniz/controller-tools-crd
Use controller-gen to generate CRDs
|
2019-07-29 19:48:32 +01:00 |
|
James Munnelly
|
5aeee11598
|
Add unit tests for deprecated config feature flag
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 17:18:48 +01:00 |
|
James Munnelly
|
1da47b9e68
|
Add DisableDeprecatedACMECertificates feature gate
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 16:17:59 +01:00 |
|
James Munnelly
|
73364f592b
|
Fix panic
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 15:45:34 +01:00 |
|
James Munnelly
|
404cfcfa43
|
Update certificates controller to use builder
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 15:24:42 +01:00 |
|
James Munnelly
|
85bdc901c5
|
Use CheckAndFinish and test events in new certificates controller
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 15:24:42 +01:00 |
|
James Munnelly
|
ff0a2c00a1
|
Don't manually init issuer helper
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 15:24:41 +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
|
8a2bcb5dd1
|
Set the apiutil clock in test builder
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 15:09:24 +01:00 |
|
James Munnelly
|
d43fb909c4
|
Convert acmechallenges controller to use test builder directly
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 14:14:48 +01:00 |
|
James Munnelly
|
331f490312
|
Remove util_test.go from issuers & clusterissuers
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 13:13:37 +01:00 |
|
James Munnelly
|
57315074f7
|
acmeorders: remove util_test.go and refactor to use builder directly
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 12:30:23 +01:00 |
|
James Munnelly
|
99bbc31386
|
Promote 'Clock' to be a field on controller context
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 12:30:23 +01:00 |
|
James Munnelly
|
70d7d222e8
|
Centralise fake structures into 'fake' subpackages
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 12:30:23 +01:00 |
|
James Munnelly
|
ad686fbe58
|
Fix format errors
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 09:52:24 +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
|
c4b30cd837
|
Use test Builder directly in CA requests controller
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-25 16:18:03 +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 |
|
James Munnelly
|
434b2408be
|
Add CheckAndFinish to controller test.Builder
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-25 15:58:39 +01:00 |
|
James Munnelly
|
406e6ad291
|
Don't depend on pkg/issuer in pkg/util/pki
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-25 15:12:41 +01:00 |
|
jetstack-bot
|
4dc46d68cd
|
Merge pull request #1910 from JoshVanL/ca-issuer-sign-migration
Move CA signer into ./pkg/controller/certificaterequests/ca
|
2019-07-25 14:48:28 +01:00 |
|
JoshVanL
|
a0d5793d9b
|
Adds Recorder event tests to CA CR controller
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2019-07-23 18:18:44 +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
|
f8c511a705
|
Address ca sign returning error
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2019-07-23 12:06:30 +01:00 |
|
JoshVanL
|
294d8ae93d
|
Move IssuerKind to ./pkg/util
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2019-07-23 09:27:22 +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 |
|
James Munnelly
|
32bc10710e
|
Update use of featuregate package
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-20 01:57:24 +01:00 |
|
jetstack-bot
|
a67c23eded
|
Merge pull request #1879 from munnerz/new-certificate-controller
Implement new Certificate controller that manages CertificateRequest resources
|
2019-07-17 12:25:30 +01:00 |
|
James Munnelly
|
2cee01af1d
|
Factor update secret sections out of processCertificate
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-17 11:05:50 +01:00 |
|
James Munnelly
|
088e196d82
|
Add experimental certificate request based controller
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-17 10:07:36 +01:00 |
|
James Munnelly
|
7edbd829c4
|
Refactor certificates controller to make methods shareable
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-17 10:04:40 +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 |
|
jetstack-bot
|
65138f5e8c
|
Merge pull request #1811 from cheukwing/issue-1679
Add Prometheus metrics for Certificate ready status
|
2019-07-15 17:52:04 +01:00 |
|
jetstack-bot
|
0b5f963bf9
|
Merge pull request #1884 from munnerz/order-csr-pem
Encode CSR on Order into PEM format and properly handle decoding
|
2019-07-12 17:00:38 +01:00 |
|
James Munnelly
|
c6ceea4e81
|
Encode CSR on Order into PEM format and properly handle decoding
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-12 14:00:46 +01:00 |
|
Michael Tsang
|
b717292090
|
Rewrite if/else for nil selector
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-07-10 17:09:26 +01:00 |
|
Michael Tsang
|
adfb8703c8
|
Fix bug where solver with no selector causes nil pointer
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-07-10 15:34:24 +01:00 |
|
Michael Tsang
|
f3baab085e
|
Add UpdateCertificateStatus call, comment implementation
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-07-10 08:54:06 +01:00 |
|
JoshVanL
|
e41a8f1892
|
Adds not certmanager group ref bailout for certificates controller
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2019-07-09 13:14:58 +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 |
|
jetstack-bot
|
c6cd522a6a
|
Merge pull request #1836 from JoshVanL/ca-issuer-cr-controller
Add alpha CertificateRequest controller for CA Issuer type
|
2019-07-08 14:11:34 +01:00 |
|
James Munnelly
|
ed3efdebe0
|
orders: fire an Event when no acme solver matches an identifier being validated
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-04 22:14:35 +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 |
|
jetstack-bot
|
7cead3d9e6
|
Merge pull request #1806 from munnerz/acme-selector-unit-tests
Add support for dnsZones in ACME solver selectors & rewrite selection logic
|
2019-07-04 11:08:37 +01:00 |
|
jetstack-bot
|
30d6664dc6
|
Merge pull request #1849 from munnerz/namespaced-factories
Respect --namespace flag in rfc2136 provider
|
2019-07-04 10:10:38 +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 |
|