James Munnelly
fa0bc9998e
Add RenewBeforeDuration option to controller context
2018-08-08 13:34:30 +01:00
James Munnelly
9cc07eefe5
Update Certificate controller
2018-08-07 16:13:46 +01:00
Louis Taylor
c5cf376c5e
Run ValidateCertificateForIssuer during sync
2018-07-25 15:45:37 +01:00
Louis Taylor
d60f4b447e
Apply cert name label to created secrets
2018-07-06 18:02:13 +01:00
James Munnelly
951b72bba0
Add basic resource validation at start of sync loops
2018-06-26 14:59:48 +01:00
Maxim Ivanov
8cbb75f9ba
Fix error formatting
2018-04-10 15:46:43 +01:00
James Munnelly
1d52cbeec7
Remove unused strings and standardise event reasons
2018-04-09 21:26:38 +01:00
James Munnelly
d197817fa7
Improve error reporting and use of status conditions
2018-04-09 21:17:51 +01:00
James Munnelly
32cab11676
Fix rebase issues
2018-04-09 17:18:34 +01:00
James Munnelly
b934852775
Merge branch 'master' into acmev2
2018-04-09 16:52:34 +01:00
James Munnelly
f2ddd1d111
Change DNSNames/CommonNameForCertificate function to not return an error
2018-04-04 23:37:37 +01:00
Louis Taylor
545bd9104a
Add comment
2018-03-23 12:21:37 +00:00
Louis Taylor
1669611908
Use defaulting functions
...
And also move annotation keys to v1alpha1
2018-03-12 21:06:23 +00:00
Louis Taylor
f6210c12c6
Annotate created secrets with cert information
2018-03-12 15:06:50 +00:00
jetstack-ci-bot
ce9e5ede2b
Merge pull request #351 from jonboulle/master
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Fix various typos in spelling of Certificate
2018-03-12 10:14:09 +00:00
Jonathan Boulle
526d31bbc0
Fix various typos in spelling of Certificate
2018-02-26 20:07:06 +01:00
jetstack-ci-bot
7533e0e329
Merge pull request #332 from munnerz/err-prefixed-events
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Rename Event types to be prefixed 'Err' instead of 'Error' for brevity
**What this PR does / why we need it**:
Shortens the event type names we use to be prefixed 'Err' instead of 'Error'
**Special notes for your reviewer**:
This brings us in-line with the issuer and cluster issuer controllers, and other controllers in Kubernetes.
**Release note**:
```release-note
Rename Event types to be prefixed 'Err' instead of 'Error' for brevity
```
2018-02-22 10:21:22 +00:00
James Munnelly
ce0384a196
Rename Event types to be prefixed 'Err' instead of 'Error' for brevity
2018-02-22 07:53:51 +00:00
James Munnelly
70e7c5265b
Make existing TLS certificate check emit a Normal event instead of Warning when the existing certificate is invalid
2018-02-22 07:48:58 +00:00
James Munnelly
76559f737f
Update Secrets instead of replacing to preserve additional metadata
2017-12-01 23:48:05 +00:00
James Munnelly
a5b954658c
Fix panic in certificates controller
2017-11-04 00:27:22 +00:00
James Munnelly
6ac437699d
Improve validation of certificates. Fix bug in checking certificate validity
2017-11-03 23:48:18 +00:00
James Munnelly
fa7e052ac1
Move to github.com/jetstack/cert-manager repo
2017-11-03 16:41:39 +00:00
James Munnelly
eb4be6859e
Update controllers and issuers for new SharedInformerFactory
2017-11-03 15:26:19 +00:00
James Munnelly
b3a2fb9419
Set TLS certificate secret type to type
2017-10-27 16:20:45 +01:00
James Munnelly
9d933d9e11
Only update certificate status in the controller package to stop conflicts
2017-10-13 20:15:29 +01:00
James Munnelly
d7009fbfa8
Correctly check if certificate is valid when only dnsNames are specified
2017-10-13 13:32:10 +01:00
James Munnelly
f8107e6fcc
Use CommonName and AltNames fields on Certificate resource
2017-10-13 12:50:07 +01:00
James Munnelly
7b30b80dc5
Update ClusterIssuer to use 'kind' field instead of 'namespace'
2017-10-12 20:06:29 +01:00
James Munnelly
dc608f709d
Support Certificates referencing ClusterIssuers
2017-09-22 01:46:05 +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
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
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
f66855bd03
Add event recording. Split out cmd entrypoint.
2017-09-09 18:27:35 +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
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
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