Commit Graph

107 Commits

Author SHA1 Message Date
James Munnelly
af2faef241 Fix using Bazel built helm during e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 01:40:08 +01:00
James Munnelly
3e7afa1b1f Make it easier for DNS01 tests to be re-used between providers
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-19 11:41:19 +01:00
James Munnelly
dc3eedda8f Create Addon as an exported var in addon package
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-19 11:41:11 +01:00
James Munnelly
ecc225ae76 Remove default SkipString
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-19 11:17:25 +01:00
James Munnelly
d9d0a25a55 Fix DNSProvider setting BaseDomain
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 15:17:52 +01:00
James Munnelly
6fb9858e17 Fix CA issuer ClusterIssuer e2e test
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 15:07:55 +01:00
James Munnelly
8562dfa897 Use unique domains in all HTTP01 and DNS01 tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 14:47:54 +01:00
James Munnelly
f8f4d003ec Add --report-prefix option
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 14:38:45 +01:00
James Munnelly
b60138c082 Fix waiting for test pods to become ready
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 14:19:05 +01:00
James Munnelly
e6bc9edbbd Fixup junit report output directory
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:59:22 +01:00
James Munnelly
d37a7ecd99 Run helm init --client-only during tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
James Munnelly
4665c1c022 Update boilerplate headers
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
James Munnelly
3b7886f083 Move tests into suite/ subdir and utilise new addons system
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
James Munnelly
e003976252 Update e2e entrypoint for new framework
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
James Munnelly
ecda543dcb Refactor e2e test framework
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
James Munnelly
b6f854f849 Remove pkg/logs package
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-18 13:27:05 +01:00
jetstack-bot
54d8ef7e8a
Merge pull request #911 from vdesjardins/vault-ca-bundle
vault ca bundle support
2018-10-12 15:06:39 +01:00
James Munnelly
43d0c1d88d Skip wildcard and apex domain e2e test pending #951
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:40 +01:00
James Munnelly
a70572d08c Update invalid domain test for new behaviour
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:39 +01:00
Vincent Desjardins
7c1ff275f0 vault ca bundle support
Signed-off-by: Vincent Desjardins <vdesjardins@gmail.com>
2018-10-11 01:22:05 +00:00
William Lightning
7d8c7ddea5 Build out issuer_rbac tests based on certificate_rbac tests
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-19 10:27:19 -07:00
William Lightning
180af301eb Update certificate_rbac test framework initialization basename
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-19 10:20:32 -07:00
William Lightning
3d09d98bd7 extract rbacClusterRoleHasAccessToResource out of certificate_rbac test to test framework util
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-19 10:19:04 -07:00
William Lightning
8dcfd76be5 certificate_rbac test: move defintion of resource up in the unit test, so we're not defining it on every it
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-19 10:04:09 -07:00
William Lightning
12713c8679 Add comprehensive tests around certificate rbac user facing roles
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-18 18:15:11 -07:00
William Lightning
d22a62d7a4 Refactor common rbac test code into function
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-18 16:51:04 -07:00
William Lightning
57bf83dea4 Add basic tests for certificate permissions
Signed-off-by: William Lightning <wlightning@fuelmedical.com>
2018-09-18 14:59:55 -07:00
James Munnelly
fe5d730118 Add e2e test binary target
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:53 +01:00
James Munnelly
db65d6a170 run //hack:update-bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:24:48 +01:00
James Munnelly
399919dffa Support older kubernetes version
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-07 21:51:52 +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
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
7346240830 Update codebase for refactored API type names 2018-08-07 14:16:53 +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
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
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
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
James Munnelly
31fb8aac0c Remove ingress-shim logging code from e2e tests 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