Commit Graph

123 Commits

Author SHA1 Message Date
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
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