Commit Graph

157 Commits

Author SHA1 Message Date
James Munnelly
175e90c158 Revert "Remove pkg/logs package"
This reverts commit b6f854f849.

Signed-off-by: James Munnelly <james@munnelly.eu>
2018-11-06 20:05:32 +00:00
jetstack-bot
7292937057
Merge pull request #1010 from munnerz/tiller-e2e-notice
e2e: remove old notice about Tiller addon
2018-10-26 02:07:39 +01:00
James Munnelly
f402c674bb
Update PodStartTimeout
This is to try and reduce test flakes relating to pod start timeouts during e2e's

Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-25 22:55:27 +01:00
James Munnelly
1bec153073 e2e: remove old notice about Tiller addon
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-25 18:58:24 +01:00
jetstack-bot
0d4c45d303
Merge pull request #988 from munnerz/cf-creds
Don't fail e2e's if cloudflare dns01 credentials are not provided
2018-10-23 19:33:01 +01:00
James Munnelly
ca8d4cd085 Add WaitForAllPodsRunningInNamespace function as an addon helper
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 18:45:55 +01:00
James Munnelly
748da93d85 Use --wait flag when installing e2e charts
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 14:48:10 +01:00
James Munnelly
44b588b192 Load cloudflare credentials from environment instead of CLI args
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 14:36:46 +01:00
James Munnelly
5be82139d4 Add SkipError type
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-23 14:24:38 +01:00
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
717c3a2119 Disable webhook during e2e's and add resource limits/requests
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
James Munnelly
454d420dc0 Run //hack:update-bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-13 23:36:34 +01:00
James Munnelly
fd52302891 Add API fixture generator package
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-13 23:36:31 +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
James Munnelly
55fbea348f Update test fixtures
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:39 +01:00
James Munnelly
ba9d354698 Update Certificate generate function for new API type
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-10-12 12:40:38 +01:00
Vincent Desjardins
92ac7a7c08 code review updates
Signed-off-by: Vincent Desjardins <vdesjardins@gmail.com>
2018-10-11 01:22:05 +00:00
Vincent Desjardins
7c1ff275f0 vault ca bundle support
Signed-off-by: Vincent Desjardins <vdesjardins@gmail.com>
2018-10-11 01:22:05 +00:00
jetstack-bot
912c7672bd
Merge pull request #848 from Queuecumber/ca-nginx
Include CA Certificate In Secrets
2018-10-08 13:04:37 +01: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
Max Ehrlich
2b5bcf3a35
Fix e2e tests to not fail if the ca key is set
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-13 18:25:18 -04:00
James Munnelly
48ecee9cfb run //hack:update-gofmt
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-13 11:25:04 +01: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
Max Ehrlich
a828913628
For now, the issued certificate can only have a different organization if it is empty, this is a workaround for vault and acme certificates
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-08 17:05:28 -04:00
Max Ehrlich
0d93b2d85a
Update basic certificate to set org
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-08 16:21:13 -04:00
Max Ehrlich
6012f79853
Check org validity in waitforcertificateissuedvalid function
Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
2018-09-08 16:21:13 -04:00