Commit Graph
801 Commits
Author SHA1 Message Date
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
jetstack-botandGitHub 01903f06ba Merge pull request #1384 from munnerz/unit-compare-reading
Print unit test failures in action matchers as part of failure message
2019-02-22 18:16:38 +00:00
James Munnelly be915d0567 Update generated files
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 12:34:55 +00:00
James Munnelly 439499561c Remove dependence on k8s.io/ingress
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 12:34:52 +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 a9d8f7de8a Fixup for Kubernetes 1.13.2
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 11:53:19 +00:00
James MunnellyandJames Munnelly 381bed1fd8 Print unit test failures in action matchers as part of failure message
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-20 17:27:31 +00:00
jetstack-botandGitHub 10924002e5 Merge pull request #1388 from DanielMorsing/killedpod
Recreate dead solver pods during self-check
2019-02-20 17:13:39 +00:00
Daniel Morsing 29ffbaecb6 oops
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-20 15:24:49 +00:00
Daniel Morsing bad7f52dc6 Revert "recreate pod if multiple pods were deleted"
This reverts commit 6b81093231.

Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-20 14:30:18 +00:00
Daniel Morsing 2881978a02 Fix check tests
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-20 14:27:45 +00:00
Brian ToppingandJames Munnelly d0712bb05e Add additional logging per #926, add documentation for rfc2136 provider.
Signed-off-by: Brian Topping <brian@coglative.com>
2019-02-20 13:47:51 +00:00
Daniel Morsing 4f4d7d1d0f ensure pod inside self-check
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-20 13:23:21 +00:00
Daniel Morsing 6b81093231 recreate pod if multiple pods were deleted
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-19 15:42:57 +00:00
James Munnelly fe2fcd4e83 go fmt
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 15:00:39 +00:00
James Munnelly 14a1b5373f Update bazel files
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:36:07 +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
James Munnelly 324e8319b6 Add basic Certificate unit tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:25:55 +00:00
James Munnelly cee0e28a05 Add initial unit test for certificate controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:25:55 +00:00
James Munnelly 0bde3dacba Create pkg/api/util and re-arrange controller instantiation code
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:25:54 +00:00
James Munnelly 3a19501e26 Add initial unit test framework for Certificates controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:22:36 +00:00
James Munnelly 804240da9d Switch Certificate controller to use Helper struct
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:22:36 +00:00
jetstack-botandGitHub bfafc7354e Merge pull request #1322 from munnerz/gen-validation-schema
Generate CRDs using controller-tools, including validation schema
2019-02-13 16:35:07 +00:00
jetstack-botandGitHub dc069276ba Merge pull request #1327 from munnerz/acme-improved-errors
Fire more Events in ACME Issue function on failure
2019-02-13 14:54:11 +00:00
jetstack-botandGitHub eafda2a31a Merge pull request #1307 from munnerz/helper-everywhere
Use Helper structure to call GetGenericIssuer everywhere
2019-02-13 13:48:37 +00:00
jetstack-botandGitHub 1476aed737 Merge pull request #1293 from munnerz/test-builder-logger
Plumb testing.T through to test Builder
2019-02-13 13:48:26 +00:00
jetstack-botandGitHub cb532cc3b8 Merge pull request #1325 from DanielMorsing/caaCheck
Extend ACME self check to check CAA records
2019-02-12 16:53:11 +00:00
Daniel Morsing a01514ad63 use configured nameservers for CAA validation
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-11 12:05:18 +00:00
James Munnelly 1c4f160169 Use Helper structure to call GetGenericIssuer everywhere
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-07 22:35:17 +00:00
jetstack-botandGitHub fd9567f1e4 Merge pull request #1318 from munnerz/crt-ctrl-use-lister
Use secretLister in updateSecret
2019-02-06 16:39:55 +00:00
James Munnelly 094ae3e50c Fix CLI flag not being respected
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-06 16:11:37 +00:00
James Munnelly da39d636d9 Fix ACME issuer unit test
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-06 15:43:59 +00:00
James Munnelly fac0a32c7e Fix bug causing certficates to be re-issued with misconfigured renewBefore/duration
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-06 15:43:59 +00:00
James Munnelly 49d5c277fd Allow empty values for State
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-06 15:33:23 +00:00
James Munnelly 265fa5b1af Run gofmt
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-06 15:27:53 +00:00
James Munnelly 10dd6937dc Fire more Events in ACME Issue function on failure
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-06 15:23:47 +00:00
James Munnelly c69e999f26 Add optional tags and enum schema values
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-06 14:57:14 +00:00
Daniel Morsing 3fda9beb25 fix failing test
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-06 14:19:05 +00:00
Daniel Morsing ec1305cfd6 follow CNAMEs, go up labels in CAA check
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-06 13:54:38 +00:00
James Munnelly 1f62390faf Add annotations for crd generator
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-06 01:52:31 +00:00
James Munnelly e53312463d Use secretLister in updateSecret
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-05 17:56:16 +00:00
Daniel Morsing bb853e5e79 first draft CAA checking
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-05 14:25:10 +00:00
Daniel Morsing 4db43bf04c add Discover method to interface
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-05 11:15:58 +00:00
James Munnelly 6c66185358 Fix bug when specify keyAlgorithm without an explicit keySize
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-04 17:34:56 +00:00
Daniel Morsing 7a8f5be106 remove cached acme URI
This isn't needed since we now cache clients

Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-04 13:30:23 +00:00
jetstack-botandGitHub 22b0863801 Merge pull request #1128 from lrolaz/certificate-ip-sans
Add IP Address in CSR
2019-01-31 23:05:25 +00:00
jetstack-botandGitHub e848bcec57 Merge pull request #1191 from chr-fritz/parse-pkcs8
Adds key parser for PKCS#8 encoded private keys.
2019-01-31 22:49:26 +00:00
James Munnelly d055d370bb Plumb testing.T through to test Builder
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 20:20:20 +00:00