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
|
071e5ab208
|
Always set secret ref annotation for CRs
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2019-08-01 16:39:01 +01:00 |
|
JoshVanL
|
42c47c7754
|
Ensures certificate controller add selfsigned annotations to CRs
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
|
2019-08-01 16:39:01 +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
|
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
|
cee2af6281
|
Set fixedClock on test builders
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-26 15:24:01 +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 |
|
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
|
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 |
|
James Munnelly
|
32bc10710e
|
Update use of featuregate package
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-07-20 01:57:24 +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 |
|
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 |
|
Artem Yarmoluk
|
9197acfefe
|
Allow disabling issuing temporary certificates
Signed-off-by: Artem Yarmoluk <koolgen@gmail.com>
|
2019-06-30 21:57:57 +03:00 |
|
James Munnelly
|
20b1343c88
|
Remove use of klog from more places
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-06-25 14:30:41 +02:00 |
|
James Munnelly
|
f8a798bd2b
|
update bazel files
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-06-19 15:33:57 +01:00 |
|
James Munnelly
|
442789113a
|
Refactor controllers to not reference BaseController
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-06-19 15:11:06 +01:00 |
|
jetstack-bot
|
8fa533c30c
|
Merge pull request #1681 from cheukwing/issue-1332
Clean up Prometheus metrics for deleted Certificates
|
2019-06-18 14:38:04 +01:00 |
|
jetstack-bot
|
043a88cdd8
|
Merge pull request #1689 from cheukwing/issue-1558
Validate that only one Certificate is using a secretName per namespace
|
2019-06-17 20:21:57 +01:00 |
|
jetstack-bot
|
48cd58b23f
|
Merge pull request #1722 from cheukwing/issue-1003
Add BaseController as a refactoring of common controller code
|
2019-06-17 19:27:57 +01:00 |
|
Michael Tsang
|
ed024dd0d1
|
Use metanamespace for key, remove exports, use reference to activecertificates
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-06-06 17:59:51 +01:00 |
|
Michael Tsang
|
7ab250af4f
|
Add mutex to RegisteredCertificates, call cleanup every minute
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-06-06 17:59:51 +01:00 |
|
Michael Tsang
|
1efd8c0261
|
Add CleanUp function to refresh certificate metrics
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-06-06 17:59:51 +01:00 |
|
Michael Tsang
|
a2da614fd5
|
Remove old workerWg field from controller structs
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-06-05 10:35:38 +01:00 |
|
Michael Tsang
|
089ff067ce
|
Add more detailed logging
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-05-24 13:55:33 +01:00 |
|
Michael Tsang
|
0add074b7f
|
Add basecontroller to other controllers
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-05-23 17:32:33 +01:00 |
|
Michael Tsang
|
0e677ee900
|
Break out of unnecessary checks for duplicates
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-05-20 15:44:52 +01:00 |
|
Michael Tsang
|
7d67ae466e
|
Remove metrics field from controllers
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-05-20 11:06:11 +01:00 |
|
Michael Tsang
|
455f6ebab4
|
Use ControllerName as label value
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-05-17 16:49:39 +01:00 |
|
Michael Tsang
|
f2e57a1c95
|
Add ControllerSyncCallCount metric
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-05-17 14:22:16 +01:00 |
|
Michael Tsang
|
2691349ffc
|
Add test for unique secret name
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-05-16 16:25:40 +01:00 |
|
Michael Tsang
|
da08563f2d
|
Implement check for unique secretname
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
|
2019-05-16 13:27:20 +01: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
|
fc6e3e5315
|
Remove extra check for certificate.spec.acme
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-05-01 14:24:37 +01:00 |
|
James Munnelly
|
064b710f02
|
Fix update loop due to changing notAfter struct
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-04-30 19:10:29 +01:00 |
|
James Munnelly
|
871ed4283b
|
Allow controller constructors to return errors
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-04-18 14:22:04 +01:00 |
|
Lennart Jern
|
dfb3954dba
|
Update cert if issuer doesn't match
Signed-off-by: Lennart Jern <lennart.jern@gmail.com>
|
2019-03-29 20:32:59 +01:00 |
|
James Munnelly
|
a13543013d
|
Use logr in pkg/util/kube
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-03-12 14:24:50 +00:00 |
|
James Munnelly
|
92713156ed
|
Update certificates controller
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-03-12 14:24:50 +00:00 |
|
James Munnelly
|
dfabece6eb
|
Use a one-use CA to sign temporary certificates
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-02-25 20:48:13 +00:00 |
|
James Munnelly
|
cf2f9eac74
|
Generate a temporary certificate whilst waiting for Issuer to issue
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-02-25 17:48:22 +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
|
1f48f3d1d4
|
gofmt
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-02-19 11:25:56 +00:00 |
|
James Munnelly
|
bbd73477cd
|
Fixes after rebasing
Signed-off-by: James Munnelly <james@munnelly.eu>
|
2019-02-19 11:25:56 +00:00 |
|