Commit Graph
462 Commits
Author SHA1 Message Date
Max Ehrlich e791680a88 Namespace was moved from a class variable to a local
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:32:14 -04:00
Max Ehrlich dab8a47ec6 Function signature for DNS01Record was changed to return an error, handle that
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:32:13 -04:00
Max Ehrlich 0209938c94 Add validation logic
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:32:13 -04:00
Max Ehrlich d12fbc161f Ensure key is good enough for acme-dns to accept
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:32:13 -04:00
Max Ehrlich 240828b272 Read test host from env variable
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:32:13 -04:00
Max Ehrlich 80a9e7bf03 Make sure names are consistent
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:32:13 -04:00
Max Ehrlich 9d1f233729 Fix env variable names in unit test
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:32:12 -04:00
Max Ehrlich 992602b472 Add unit test to dns testing
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:32:12 -04:00
Max Ehrlich 310a6f8689 Add unit test for acmedns
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:31:43 -04:00
Max Ehrlich f369d691fe Keeping names consistent again
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:31:42 -04:00
Max Ehrlich 2d41d79d3c Include acme-dns into the generic dns challenge interface
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:31:42 -04:00
Max Ehrlich 795b472e8d Flesh out acme-dns implementation, registration must occur before using cert-manager
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:30:34 -04:00
Max Ehrlich 5695b867f6 Keep naming consistent
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:30:34 -04:00
Max Ehrlich f7a42fb9fd Add acme-dns issuer config to the issuer definition and update docs
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:30:33 -04:00
Max Ehrlich 8251d96c21 Add acme-dns issuer to provider configuration
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:30:33 -04:00
Max Ehrlich 9902845c82 Add acmedns constructor to dns interface
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:30:33 -04:00
Max Ehrlich 40ce2d8e86 Basic parts of implementation of acme dns, missing registration and credential retrieval
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:25:43 -04:00
Max Ehrlich 110a9443e8 Stubs for acmedns and its test
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-08-13 13:25:43 -04:00
jetstack-botandGitHub abfbb36a48 Merge pull request #825 from ocadotechnology/820-plumb-dns-servers-more
fix: plumb dns servers into more areas
2018-08-13 17:48:30 +01:00
stuart.warren 4f80dca9d5 fix: plumb dns servers into more areas
fixes: #820
Signed-off-by: stuart.warren <stuart.warren@ocado.com>
2018-08-13 16:21:37 +01:00
James Munnelly 813996b07d Update third_party files with skip license headers
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2018-08-13 16:06:07 +01:00
James Munnelly 51195e4c5f Update license header and add header to every file
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2018-08-13 15:53:37 +01:00
jetstack-botandGitHub 7d581d60c2 Merge pull request #816 from kragniz/catch-dns-error
Catch and return dns query error in DNS01Record
2018-08-10 12:16:03 +01:00
Louis Taylor cc9a18a872 Handle error cases 2018-08-10 11:12:15 +01:00
jetstack-botandGitHub d0002f6c71 Merge pull request #811 from jetstack/selfsigned-ca-bundle
Don't bundle the CA certificate when selfsigned
2018-08-10 11:07:12 +01:00
Louis Taylor 69f6a234c7 Catch and return dns query error in DNS01Record 2018-08-10 11:04:48 +01:00
James MunnellyandGitHub 2110aacc3b Don't bundle the CA certificate when selfsigned 2018-08-09 16:32:10 +01:00
James Munnelly c169a1ffc1 Catch edge case where the CN and DNSNames on a Certificate have been reordered 2018-08-08 20:19:16 +01:00
James Munnelly 503186c2d2 Add unit test for PublicKeyMatchesCertificate 2018-08-08 13:39:34 +01:00
James Munnelly 0dd3155fb2 Add logic to handle ready vs valid ACME orders 2018-08-08 13:39:34 +01:00
James Munnelly 1ed6855bde Expose GetCertificate function 2018-08-08 13:39:30 +01:00
James Munnelly fa0bc9998e Add RenewBeforeDuration option to controller context 2018-08-08 13:34:30 +01:00
James Munnelly 071d1c6c88 Fix resourceNamespace 2018-08-07 16:13:46 +01:00
James Munnelly 3781c2d1be Update references to resourceNamespace 2018-08-07 16:13:46 +01:00
James Munnelly 3a69dd1cbf Update unit test fixture to produce mock Contexts 2018-08-07 16:13:46 +01:00
James Munnelly 38c62357f7 Update ACME issuer for new context 2018-08-07 16:13:46 +01:00
James Munnelly f4170cbbf0 Update http01 challenge solver 2018-08-07 16:13:46 +01:00
James Munnelly 370a7a1460 Update DNS01 solver 2018-08-07 16:13:46 +01:00
James Munnelly 2fcbee05b7 Update ACME issuer 2018-08-07 16:13:46 +01:00
James Munnelly e9285c6bdb Update selfsigned issuer 2018-08-07 16:13:46 +01:00
James Munnelly 3f325d1659 Update CA issuer 2018-08-07 16:13:46 +01:00
James Munnelly 7ee345f88c Update Vault issuer 2018-08-07 16:13:46 +01:00
James Munnelly a46774fe44 Update Issuers controller 2018-08-07 16:13:46 +01:00
James Munnelly 59880abd43 Update ClusterIssuer controller 2018-08-07 16:13:46 +01:00
James Munnelly 9cc07eefe5 Update Certificate controller 2018-08-07 16:13:46 +01:00
James Munnelly 61a27d3b6c Update validation to use consts moved into pkg/controller 2018-08-07 16:13:46 +01:00
James Munnelly 9dc20d3c35 Remove dedicated issuer context and move issuer registration into controller pkg 2018-08-07 16:13:46 +01:00
James Munnelly 36f9f356cd Refactor ACME client construction into dedicated ACME package 2018-08-07 15:22:53 +01:00
James Munnelly 7346240830 Update codebase for refactored API type names 2018-08-07 14:16:53 +01:00
James Munnelly 3e95b9410c Update generated files 2018-08-07 14:16:49 +01:00