Commit Graph

103 Commits

Author SHA1 Message Date
James Munnelly
f0234a0868 Add e2e test script utilising 'kind'
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-07 19:55:14 +01:00
James Munnelly
76ed08d69b Update test framework to install webhook
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2018-08-20 12:36:35 +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
James Munnelly
3a69dd1cbf Update unit test fixture to produce mock Contexts 2018-08-07 16:13:46 +01:00
James Munnelly
7346240830 Update codebase for refactored API type names 2018-08-07 14:16:53 +01:00
James Munnelly
441c22c119 Fix skipping chart validation for pebble and vault 2018-07-25 18:45:24 +01:00
Louis Taylor
24f581376d
Don't return err if secret is absent 2018-07-20 11:11:33 +01:00
Louis Taylor
65b891da29
Remove yoda condition 2018-07-20 11:08:19 +01:00
Louis Taylor
502e9d2bfb
Increase timeout 2018-07-19 17:42:01 +01:00
Louis Taylor
e5e5362e2a
Fix nil panic 2018-07-19 16:37:21 +01:00
Louis Taylor
4601c95557
Use new WaitCertificateIssuedValid everywhere 2018-07-19 16:26:15 +01:00
Louis Taylor
8e9171adbf
Check for labels on created secret 2018-07-19 16:11:12 +01:00
Louis Taylor
5f0c5f21fb
Increase http01 self-check timeout 2018-07-19 15:48:21 +01:00
James Munnelly
5a102fb5f6
Add e2e test to ensure changing dnsNames on an ACME certificate triggers a re-issue 2018-07-19 13:36:15 +01:00
Vincent Desjardins
7fae0fccf1 code review fixes 2018-07-11 16:00:39 +00:00
Vincent Desjardins
ca3b909cb7 code review modifications 2018-07-11 16:00:39 +00:00
Vincent Desjardins
2995cc90a3 Vault: configurable appRole authentication path 2018-07-11 16:00:39 +00:00
Louis Taylor
2e97514c5e
Add test 2018-07-06 18:03:02 +01:00
James Munnelly
7c6ad06d3d Use kubernetes-helm/chart-testing scripts to verify helm chart 2018-07-04 14:19:37 +01:00
jetstack-bot
61729fb96a
Merge pull request #637 from munnerz/selfsigned
Add self signed Issuer type
2018-06-15 14:31:33 +01:00
James Munnelly
b0b7ae9c1f
Update e2e test ACME email
Let's encrypt no longer allow use of @example.com emails for ACME accounts.

This PR switches us to use a @cert-manager.io email for the ACME account used during e2e tests, as currently the dns01 e2e tests are performed against the let's encrypt staging endpoint due to issues described in https://github.com/letsencrypt/pebble/issues/118
2018-06-13 23:11:55 +01:00
James Munnelly
ae37efa7b7 Add selfsigned issuer e2e test 2018-06-08 15:48:30 +01:00
Vincent Desjardins
b35343786e Vault issuer support
vault remove duration
2018-05-02 00:45:55 +00:00
Vincent Desjardins
230f59b0ac e2e: add resource's last status to timed out error message 2018-05-02 00:34:46 +00:00
James Munnelly
31fb8aac0c Remove ingress-shim logging code from e2e tests 2018-04-26 12:44:41 +01:00
James Munnelly
529e467439 Remove ingressShim args from e2e test chart values 2018-04-26 12:44:41 +01:00
James Munnelly
93ac442206 Increase timeout for wildcard and apex domain e2e test 2018-04-26 12:12:32 +01:00
James Munnelly
5f27ad635b Add e2e test for wildcard with apex domain 2018-04-25 19:02:15 +01:00
James Munnelly
c6e6b39fd2 Require asterisk denoted wildcard in acme solver config for wildcard certs 2018-04-25 17:34:21 +01:00
James Munnelly
7569e31b0b Re-add wildcard certificate test 2018-04-25 17:14:06 +01:00
James Munnelly
d0c76e4aab Switch to Let's Encrypt staging endpoint for dns01 tests 2018-04-25 17:11:55 +01:00
James Munnelly
5c60618201 Change existing wildcard cert test to be a regular dns01 test 2018-04-25 16:27:51 +01:00
James Munnelly
c876f00c7b Adjust max segment length to 63 chars 2018-04-19 09:57:08 +01:00
James Munnelly
80b12a6eec Add e2e test to ensure we can obtain certificates for dnsNames >100 chars 2018-04-18 19:24:09 +01:00
James Munnelly
ffabe93b6c Use random subdomain for DNS01 provider tests 2018-04-10 00:50:58 +01:00
James Munnelly
09e055b453 Set SkipTLSVerify bool during DNS01 tests 2018-04-10 00:39:17 +01:00
James Munnelly
ca154bf1fe Set tail to 10000 on failed e2e tests 2018-04-10 00:27:57 +01:00
James Munnelly
ce441d604f Enable DNS01 provider tests using cloudflare 2018-04-10 00:27:52 +01:00
James Munnelly
02c4d7b3a7 Print all logs with kubectl tail 2018-04-09 23:30:53 +01:00
James Munnelly
de57941fbf Save cert-manager logs to artifacts dir instead of stdout 2018-04-09 22:59:19 +01:00
James Munnelly
d4da017ab8 Turn down e2e test log verbosity 2018-04-09 22:08:20 +01:00
James Munnelly
676d2f3ea6 Fix e2e test framework and ingress-shim unit tests 2018-04-09 18:33:23 +01:00
James Munnelly
774956fe71 Fix after adding ACMESolverConfig struct 2018-04-09 17:32:29 +01:00
James Munnelly
d3706ae33c Add ACMEOrderChallenge struct 2018-04-09 15:39:43 +01:00
James Munnelly
78362dd849 Extend test resource generators 2018-04-04 23:41:00 +01:00
James Munnelly
178a3a5eea Fix up bugs in unit testing framework 2018-04-04 23:40:44 +01:00
James Munnelly
01efbca114 Merge branch 'master' into acmev2 2018-04-04 11:27:37 +01:00
James Munnelly
dd950c8b65 Increase http01 e2e test timeout 2018-03-23 18:50:46 +00:00
James Munnelly
42c5599305 Rename integration test framework to unit 2018-03-23 18:50:45 +00:00