Commit Graph
405 Commits
Author SHA1 Message Date
James MunnellyandJames Munnelly 478e0d8ce3 Don't bundle the CA certificate when selfsigned 2018-08-10 10:05:11 +01:00
James Munnelly 6308c7bce0 Catch edge case where the CN and DNSNames on a Certificate have been reordered 2018-08-10 10:05:05 +01:00
James Munnelly b77bd75cde Fix acme unit tests 2018-08-08 17:48:37 +01:00
James Munnelly 042ec4aadd Add unit test for PublicKeyMatchesCertificate 2018-08-08 16:26:48 +01:00
James Munnelly 80a92960e8 Add logic to handle ready vs valid ACME orders 2018-08-08 16:26:46 +01:00
James Munnelly ff50a41c47 Expose GetCertificate function 2018-08-08 16:26:27 +01:00
James Munnelly 6dc4d70dcc Add RenewBeforeDuration option to controller context 2018-08-08 16:26:27 +01:00
jetstack-botandGitHub c831de134c Merge pull request #765 from munnerz/automated-cherry-pick-of-#764-release-0.4
Automated cherry pick of #764
2018-07-25 21:13:33 +01:00
James Munnelly f93581233f Wait for ACME Orders to be in 'ready' state before attempting finalization 2018-07-25 18:45:58 +01:00
jetstack-botandGitHub 8323e57d81 Merge pull request #753 from euank/automated-cherry-pick-of-#746-upstream-release-0.4
Automated cherry pick of #746
2018-07-24 11:41:04 +01:00
Louis Taylor 46372d84ab clouddns: use fqdn for challenge cleanup
This is the same as the problem fixed in #750, but for cleanup.
2018-07-22 20:20:37 +01:00
Euan Kemp d1e9e2fe50 issuer/route53: log ignored InvalidChangeBatch err 2018-07-20 16:57:47 -07:00
Euan Kemp 0897e04911 issuer/route53: fix delete for 'NotExist' errors
Fixes #736.

Prior to this change, it was quite possible to end up with a queue of
cleanup tasks that would never succeed.
2018-07-20 16:57:47 -07:00
Louis Taylor 0b83165640 clouddns: find hosted zone for challenge record
Previously this would fail if you use a CNAME for the _acme-challenge
record.
2018-07-20 17:24:35 +01:00
Louis Taylor 969c4530a0 Add Contains util function 2018-07-12 10:27:05 +01:00
jetstack-botandGitHub a162a5bb8e Merge pull request #612 from vdesjardins/custom-approle-path
Vault: configurable appRole authentication path
2018-07-11 17:53:33 +01:00
jetstack-botandGitHub c08cd80730 Merge pull request #622 from munnerz/istio-annotation
Add auth.istio.io annotation to ACME HTTP01 service
2018-07-11 17:18:33 +01:00
Vincent Desjardinsandtest@test.com 7fae0fccf1 code review fixes 2018-07-11 16:00:39 +00:00
Vincent Desjardinsandtest@test.com ca3b909cb7 code review modifications 2018-07-11 16:00:39 +00:00
Vincent Desjardinsandtest@test.com 2995cc90a3 Vault: configurable appRole authentication path 2018-07-11 16:00:39 +00:00
jetstack-botandGitHub bd7f15d5f4 Merge pull request #710 from kragniz/dns-flag
Add flag for setting nameservers for DNS01 check
2018-07-11 14:26:33 +01:00
jetstack-botandGitHub 1c167c302d Merge pull request #720 from zegl/route53-managed-by-certmanager
route53: update managed by DNS record comment
2018-07-11 13:37:49 +01:00
Gustav Westling 641b497242 route53: update managed by DNS record comment 2018-07-08 12:09:00 +02:00
Louis Taylor d60f4b447e Apply cert name label to created secrets 2018-07-06 18:02:13 +01:00
jetstack-botandGitHub c48a38ae17 Merge pull request #644 from munnerz/ref-docs
Add script for generating reference docs
2018-07-05 15:12:41 +01:00
James Munnelly 2014183a57 Add script for generating reference docs 2018-07-05 14:47:32 +01:00
Louis Taylor cbc61ef7f9 Fix tests 2018-07-05 12:41:33 +01:00
Louis Taylor 3eaca6a318 Add flag for custom dns01 nameservers 2018-07-05 12:40:53 +01:00
James Munnelly d61838d901 Prevent panics in v1alpha1 helpers.go 2018-07-05 11:43:19 +01:00
André Cruz 936e2b98ee Support the new "ready" order status 2018-07-03 15:31:14 +01:00
jetstack-botandGitHub e7a2a0c618 Merge pull request #686 from kragniz/acme-config-update
Update spec.acme.config field when ingress changes
2018-06-29 10:11:06 +01:00
James Munnelly 86685369aa Add test for a non-acme certificate being appropriately updated 2018-06-29 09:46:04 +01:00
Louis Taylor 25311a57c5 Add better check for nil spec.acme 2018-06-27 14:37:53 +01:00
Louis Taylor bc9181a925 Update spec.acme.config field when ingress changes
Fixes #619.
2018-06-27 10:52:00 +01:00
James Munnelly c55e7661b2 Add unit tests for resource validation 2018-06-26 14:59:48 +01:00
James Munnelly 951b72bba0 Add basic resource validation at start of sync loops 2018-06-26 14:59:48 +01:00
James Munnelly bbb65baa38 Run go fmt 2018-06-26 01:24:52 +01:00
Guilherme BlancoandJames Munnelly 8d69e1e811 Added annotation to pod to prevent istio-sidecar-injector to add an envoy-proxy 2018-06-26 01:24:52 +01:00
James Munnelly 65b6ae2643 Add auth.istio.io annotation to ACME HTTP01 service 2018-06-26 01:24:52 +01:00
jetstack-botandGitHub 7ef053cf3e Merge pull request #667 from euank/scheduler-mock
pkg/scheduler: fix minor race; use mocks in scheduler tests
2018-06-25 20:37:29 +01:00
Euan Kemp b7d4470f81 pkg/scheduler: fix minor race
While unlikely, it was possible before for the scheduler to race in such
a way that concurrent 'Add' calls would result in "leaking" a timer,
thus making an unstoppable invocation of that event.

This includes a test which fails without the small bugfix in
scheduler.go
2018-06-25 12:01:51 -07:00
James Munnelly fe5e748170 Don't return invalid/expired orders in shouldAttemptValidation 2018-06-25 10:46:10 +01:00
Euan Kemp bb1fe81834 pkg/scheduler: use mock timer for tests
This speeds up the unit tests from taking about 12s to taking around
.01s
2018-06-19 17:48:16 -07:00
James Munnelly 592bfc7edc issuers: Skip triggering API update if status has not changed 2018-06-18 01:55:45 +01:00
jetstack-botandGitHub 61729fb96a Merge pull request #637 from munnerz/selfsigned
Add self signed Issuer type
2018-06-15 14:31:33 +01:00
jetstack-botandGitHub cb107f3b89 Merge pull request #652 from euank/r53-owner
issuer/dns/route53: add myself as owner
2018-06-14 12:32:36 +01:00
jetstack-botandGitHub 12d603f511 Merge pull request #629 from groner/check-acme-issuer-challenge-type
Check the acme issuer has the challenge type configured.
2018-06-14 11:54:37 +01:00
Euan Kemp 27b5e49732 issuer/dns/route53: add myself as owner 2018-06-12 18:32:49 -07:00
jetstack-botandGitHub df4b493b38 Merge pull request #582 from ThatWasBrilliant/master
FindZoneByFqdn fixes from lego
2018-06-12 16:25:41 +01:00
James Munnelly 00e558a9e7 Fix package naming 2018-06-08 17:49:26 +01:00