Commit Graph

275 Commits

Author SHA1 Message Date
James Munnelly
14cf0d495f Consistent use of glog 2017-10-16 14:50:27 +01:00
James Munnelly
a3dda22345 Merge pull request #124 from jetstack-experimental/acme-cert-e2e
Add ACME certificate http01 e2e test
2017-10-16 13:51:57 +01:00
James Munnelly
dc5929ce29 Fix Issuer sync_test.go 2017-10-16 13:38:53 +01:00
James Munnelly
7adab485ff Wait for namespace to no longer exist in AfterEach
Wait longer for acme certificate e2e test

Increase delete namespace timeout
2017-10-16 13:17:10 +01:00
James Munnelly
59e2af767a Perform Issuer/ClusterIssuer status updates in controller 2017-10-16 12:59:46 +01:00
James Munnelly
1f278d659b Refactor e2e setup into scripts. Speed up e2e tests.
Build images whilst services are starting

Exit on setup boulder errors

Install nsenter

Don't build nsenter

Turn up e2e pod verbosity

Set pullPolicy IfNotPresent on HTTP challenge solver
2017-10-16 12:58:47 +01:00
James Munnelly
0ecb17bb6d Add ACME certificate http01 e2e test
Wait for nginx-ingress-controller rc to be installed

Enable minikube ingress addon

Print cert-manager logs after acme certificate test. Properly catch errors.

Move creation of cert-manager pod in e2e tests into framework

Update testingACMEURL

Fix panic

Add test to ensure ACME request fails for invalid domain

Adjust acme certificate failure test

Fix AfterEach steps for acme e2e tests

Don't error on cleanup
2017-10-16 12:58:21 +01:00
James Munnelly
8fed2187a6 Merge pull request #123 from jetstack-experimental/boulder
Use letsencrypt/boulder as ACME server in e2e tests
2017-10-15 12:13:44 +01:00
James Munnelly
7faf792b9d Use letsencrypt/boulder as ACME server in e2e tests 2017-10-14 01:28:18 +01:00
James Munnelly
b7926d7e6a Add note about ClusterIssuers 2017-10-13 21:19:02 +01:00
James Munnelly
0f5c11bb03 Update README & helm chart for 0.1.0 2017-10-13 20:40:11 +01:00
James Munnelly
8352a26a0f Merge pull request #121 from jetstack-experimental/fixes
Only update certificate status in the controller package.
2017-10-13 20:29:15 +01:00
James Munnelly
9f79eea7d1 Use pods instead of jobs for acme solver 2017-10-13 20:15:53 +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
29f44c2ed6 Fix domain authorization check 2017-10-13 18:28:40 +01:00
James Munnelly
a62afaa1e7 Merge pull request #120 from jetstack-experimental/fix-http-cleanup
Fix ACME HTTP Cleanup function
2017-10-13 18:09:33 +01:00
James Munnelly
213d895865 Fix ACME HTTP Cleanup function 2017-10-13 17:59:39 +01:00
James Munnelly
22ed25955d Merge pull request #119 from jetstack-experimental/auth-per-acc
Check authorizations account URI before attempting to reuse authorization
2017-10-13 17:10:17 +01:00
James Munnelly
8d50c4102a Merge pull request #118 from jetstack-experimental/rename-config
Rename http-01 -> http01, dns-01 -> dns01
2017-10-13 16:56:17 +01:00
James Munnelly
a9eb7ee8a7 Check authorizations account URI before attempting to reuse authorization 2017-10-13 16:56:05 +01:00
James Munnelly
a64a52cf86 Merge pull request #117 from jetstack-experimental/solver-image
Make acmesolver image configurable through CLI. Use tagged version as default
2017-10-13 16:48:25 +01:00
James Munnelly
7060fb5019 http-01 -> http01, dns-01 -> dns01 2017-10-13 16:45:04 +01:00
James Munnelly
01e5833825 Make acmesolver image configurable through CLI. Use tagged version as default. 2017-10-13 16:39:06 +01:00
James Munnelly
c7a83606ce Merge pull request #115 from jetstack-experimental/explicity-challenge-mech
Add HTTP01 field to issuer.spec. Default HTTP01 challenges to disabled.
2017-10-13 15:37:39 +01:00
James Munnelly
ddb45bfab4 Update documentation examples 2017-10-13 15:29:31 +01:00
James Munnelly
0ae7be2b21 Merge pull request #114 from dippynark/add-certificate-readme
Add certificate README.md
2017-10-13 15:05:42 +01:00
James Munnelly
79c775e389 Add HTTP01 field to issuer.spec. Default HTTP01 challenges to disabled. 2017-10-13 14:54:26 +01:00
James Munnelly
939534d5b0 Merge pull request #112 from jetstack-experimental/update-issuer-secret-change
Trigger CA Issuer re-sync when signing keypair changes
2017-10-13 14:31:35 +01:00
Luke Addison
cbc3cb9e83 Add certificate README.md 2017-10-13 14:31:10 +01:00
James Munnelly
0d4acf7af3 Merge pull request #113 from jetstack-experimental/dnsname
Rename altNames field to dnsNames
2017-10-13 14:12:08 +01:00
James Munnelly
2600cb8e14 Fix up altName->dnsName change 2017-10-13 14:04:14 +01:00
James Munnelly
bd9c202cbb regenerate files 2017-10-13 13:37:56 +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
a3fc5d9eaa Rename altNames to dnsNames 2017-10-13 13:31:52 +01:00
James Munnelly
45a67dc748 Merge pull request #109 from jetstack-experimental/cn-altname
Use CommonName and AltNames fields on Certificate resource
2017-10-13 13:21:47 +01:00
James Munnelly
8c6457e7b7 Trigger CA Issuer re-sync when signing keypair changes 2017-10-13 13:20:03 +01:00
James Munnelly
a4b1d346c7 Fix invalid check for empty certificate domains 2017-10-13 13:05:21 +01:00
James Munnelly
718ade0dbe Merge pull request #111 from jetstack-experimental/lego-license
Add LICENSE files for files from github.com/xenolf/lego library
2017-10-13 12:58:04 +01:00
James Munnelly
e080d1da25 Add LICENSE files for files from github.com/xenolf/lego library 2017-10-13 12:57:31 +01:00
James Munnelly
40efa293a1 Fix tests for new CommonName 2017-10-13 12:52:36 +01:00
James Munnelly
489f073d3a Require altName or subject name are specified in CA issuer 2017-10-13 12:52:36 +01:00
James Munnelly
ae1173dcec Regenerate files 2017-10-13 12:50:07 +01:00
James Munnelly
187e91f9ae Default commonName to first altName if not specified 2017-10-13 12:50:07 +01:00
James Munnelly
f8107e6fcc Use CommonName and AltNames fields on Certificate resource 2017-10-13 12:50:07 +01:00
James Munnelly
37e53bdd4b Merge pull request #107 from jetstack-experimental/cleanup-secret-ref
Standardise SecretKeySelector field naming
2017-10-13 12:47:16 +01:00
James Munnelly
1f71106c04 Update docs example 2017-10-13 12:14:23 +01:00
James Munnelly
185058815e Fix controller checks for new API schema 2017-10-13 12:09:04 +01:00
James Munnelly
2d0e81fc95 Regenerate files 2017-10-13 11:56:33 +01:00
James Munnelly
04ade0e687 Update documentation examples 2017-10-13 11:54:09 +01:00
James Munnelly
b1d6d1f6af Update e2e tests 2017-10-13 11:47:56 +01:00