Commit Graph

197 Commits

Author SHA1 Message Date
James Munnelly
185058815e Fix controller checks for new API schema 2017-10-13 12:09:04 +01:00
James Munnelly
7b30b80dc5 Update ClusterIssuer to use 'kind' field instead of 'namespace' 2017-10-12 20:06:29 +01:00
James Munnelly
cd4b482410 Check Secret namespace in ClusterIssuer checks. Add TODO. 2017-09-22 09:52:09 +01:00
James Munnelly
65366e986c Add ClusterIssuer e2e tests. Fix e2e tests. 2017-09-22 09:38:59 +01:00
James Munnelly
dc608f709d Support Certificates referencing ClusterIssuers 2017-09-22 01:46:05 +01:00
James Munnelly
852e250a69 Add clusterissuer controller 2017-09-22 00:10:42 +01:00
James Munnelly
7c425ee86f Switch issuer implementations to use GenericIssuer 2017-09-21 23:27:41 +01:00
James Munnelly
c4980baaca Use context throughout issuer implementation 2017-09-21 20:45:43 +01:00
James Munnelly
940b26127b Create context for each resource to be processed 2017-09-21 20:26:27 +01:00
James Munnelly
8bac175baa Plumb stopCh into workers 2017-09-21 20:23:17 +01:00
James Munnelly
f28afd00ac Only update resource status if a change has occurred 2017-09-11 10:47:59 +01:00
James Munnelly
977573db9d Put UpdateStatus on *Issuer and *Certificate 2017-09-11 10:47:59 +01:00
James Munnelly
5f061a8c7e Update Certificate Status after Issue & Renew 2017-09-11 10:47:59 +01:00
James Munnelly
fbe7f542bd Merge pull request #81 from jetstack-experimental/acme-events
Add Events for ACME authorisation flow
2017-09-11 10:40:08 +01:00
James Munnelly
98daf0b1ba Add events for ACME prepare method 2017-09-11 02:02:00 +01:00
James Munnelly
80b02006fd Remove unusued kube package 2017-09-11 01:04:31 +01:00
James Munnelly
89588bb281 Split GetKeyPair method into two methods 2017-09-10 22:54:55 +01:00
James Munnelly
6e1b4c8533 Fix certificate sync.go for new structure 2017-09-10 21:14:21 +01:00
James Munnelly
d6c0df5c78 Merge pull request #74 from jetstack-experimental/event-recording
Add event recording. Split out cmd entrypoint.
2017-09-10 20:38:56 +01:00
James Munnelly
7e33491161 Set issuer lister in certificate controller 2017-09-09 18:52:47 +01:00
James Munnelly
d59df81849 Add test for issuer sync loop 2017-09-09 18:43:28 +01:00
James Munnelly
f66855bd03 Add event recording. Split out cmd entrypoint. 2017-09-09 18:27:35 +01:00
James Munnelly
51971e921d Remove unused function 2017-09-09 11:49:04 +01:00
James Munnelly
35d672ef39 Add comments to top level packages 2017-09-09 11:42:50 +01:00
James Munnelly
7540beb74b Update imports 2017-09-09 02:13:03 +01:00
James Munnelly
b53ede4e5a Wait for workers to process their work before exit 2017-09-09 01:48:10 +01:00
James Munnelly
960d46e302 Add leader election. Fix gracefully exiting. 2017-09-09 01:47:21 +01:00
James Munnelly
329ffab15a Make Certificate loop use Issuer conditions 2017-09-08 22:37:48 +01:00
James Munnelly
d0212e8a3b Update controller to accept Options via context 2017-09-08 21:43:18 +01:00
James Munnelly
95aa3aab95 Update references to cert-manager informers 2017-08-22 12:13:13 +01:00
James Munnelly
7937b0384c Update import paths 2017-08-07 14:46:58 +01:00
James Munnelly
6bd343c335 Remove old comment [ci skip] 2017-08-07 13:56:54 +01:00
James Munnelly
5926a53706 Refactor controller loop to only perform authorizations when issuing/renewing 2017-08-06 23:49:54 +01:00
James Munnelly
dd02061738 Set up scheduled work queue for certificate renewals 2017-08-05 22:51:52 +01:00
James Munnelly
dc80101476 Check for DNS propagation before accept authorization from ACME 2017-08-05 17:39:56 +01:00
James Munnelly
c0b5e1845f Fix up certificates checks.go 2017-08-05 01:22:59 +01:00
James Munnelly
ddfba77725 Set up resyncPeriod of 5 minutes on Certificate control loop 2017-08-05 01:21:01 +01:00
James Munnelly
170a5d0ae4 Watch secrets for deletion in issuers control loop 2017-08-05 01:12:54 +01:00
James Munnelly
42a5321510 Watch for certificate and ingress deletion in Certificate controller 2017-08-05 01:00:40 +01:00
James Munnelly
3fb49ad049 Refactor control loops to be more akin to kube-controller-manager 2017-08-05 00:35:54 +01:00
James Munnelly
630654a6d4 Update import paths 2017-07-22 12:19:40 +01:00
James Munnelly
268ae4ee89 Refactor common functions into util. Add renewals. 2017-07-22 11:45:30 +01:00
James Munnelly
2d55f48328 Implement basic certificate issuer 2017-07-22 02:54:06 +01:00
James Munnelly
afbe0ba9c5 add start of authorization 2017-07-22 01:23:25 +01:00
James Munnelly
95cba8ab5f Add acme issuer. Implement 'Setup' method. Now manages ACME accounts. 2017-07-21 15:18:39 +01:00
James Munnelly
aa03460d21 Remove ingress control loop 2017-07-21 15:17:36 +01:00
James Munnelly
5e2222fa09 initial controller implementation 2017-07-19 20:29:02 +01:00