Commit Graph

148 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
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
James Munnelly
a48b60581b Run gofmt with go 1.11
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-08 03:19:00 +01:00
James Munnelly
c6bd3902b9 Rename legacy minikube e2e testing script
Also tidy up kind e2e testing script

Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-07 23:24:55 +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
22f4f00ea3 Add preKubeadm hook to download latest kubeadm binary
Signed-off-by: James Munnelly <james@munnelly.eu>
2018-09-07 21:18:56 +01:00
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