Commit Graph

201 Commits

Author SHA1 Message Date
James Munnelly
3682b18ff0 Update new http01 tests to use generate package
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 14:24:37 +01:00
James Munnelly
be4234ae63 Add e2e tests using new format
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 14:24:00 +01:00
James Munnelly
b6e9b14f5e Update e2e test framework for new format support
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-01 14:24:00 +01:00
James Munnelly
8183e7d1e5 Fix missing string literal
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 15:39:12 +01:00
James Munnelly
d4e89431ad Add missing license header
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 15:39:12 +01:00
James Munnelly
4b8de4d0a9 Add dummy webhook dns provider e2e test
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 15:39:12 +01:00
James Munnelly
d46fbf72ce Fix issues with samplewebhook addon
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 15:39:12 +01:00
James Munnelly
75904ecd7a Fix typo in e2e test helm chart webhook
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 15:39:12 +01:00
James Munnelly
184f47cf07 Add basic webhook DNS solver e2e test
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 15:39:12 +01:00
James Munnelly
ac61e7a9e4 Add example-webhook test DNS webhook solver addon
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 15:39:12 +01:00
James Munnelly
43966db52e Improve describe output when WaitCertificateIssuedValidTLS fails
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 12:36:18 +01:00
James Munnelly
3948175427 Fix e2e test addon deprovisioning order
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 12:36:18 +01:00
James Munnelly
41970407c6 Expose ginkgo.focus and skip-globals flags in e2e_test
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-30 12:36:18 +01:00
James Munnelly
b3ec6a6f24 Update reference to deprecated method
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-14 15:51:44 +01:00
jetstack-bot
b3410cbfb3
Merge pull request #1469 from munnerz/autoclean-cloudflare
Add CLI tool to clean up old TXT records in Cloudflare
2019-03-20 16:45:04 +00:00
James Munnelly
9d3fd758c3 Add cloudflare-clean to delete old TXT records
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-03-13 10:08:24 +00:00
James Munnelly
d282c5f2aa Run update-bazel
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-03-12 14:24:51 +00:00
James Munnelly
420ebfebe2 Use goflag instead of pflag for logs
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-03-12 14:24:51 +00:00
James Munnelly
5d73076db9 Update logs package for go-logr
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-03-12 14:24:50 +00:00
jetstack-bot
d1c998a8b3
Merge pull request #1426 from munnerz/cainjector-e2e-timeouts
Increase timeouts for cainjector e2e tests
2019-03-01 20:52:50 +00:00
James Munnelly
3d90a294b9 Increase timeouts for cainjector e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-03-01 19:56:33 +00:00
jetstack-bot
5e3c1a813b
Merge pull request #1250 from munnerz/venafi
add Venafi Cloud & TPP issuer type
2019-03-01 19:42:38 +00:00
jetstack-bot
687dcd0db7
Merge pull request #1420 from munnerz/cainjector-apiserverca
cainjector: support injecting apiserver ca
2019-03-01 15:19:05 +00:00
James Munnelly
2f67c78f62 Address review feedback
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-03-01 14:37:11 +00:00
James Munnelly
9115521368 testing: use random CN in venafi tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-03-01 13:16:39 +00:00
James Munnelly
3cc97277e9 Fix e2e after rebase
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-03-01 13:16:39 +00:00
James Munnelly
7a20d32ebd Add Venafi e2e suite
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-03-01 13:16:03 +00:00
jetstack-bot
334477ec73
Merge pull request #1392 from munnerz/gen-tmp-selfsigned
Generate temporary certificate to appease ingress-gce
2019-02-28 19:20:03 +00:00
James Munnelly
b34adf88ff cainjector: support injecting apiserver ca
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-28 16:45:26 +00:00
jetstack-bot
25e60f68b3
Merge pull request #1415 from munnerz/cainjector-updates
Updates to cainjector controller
2019-02-28 15:52:09 +00:00
jetstack-bot
c07bfd7181
Merge pull request #1419 from DanielMorsing/enable_httpstest
Enable https redirect test
2019-02-28 15:05:11 +00:00
Daniel Morsing
f4b132c8c6 enabled https redirect test
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-28 12:25:03 +00:00
Daniel Morsing
e1cee57b32 update dependencies for test
We use the latest pebble release without the strict mode flag enabled

Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-28 12:24:24 +00:00
James Munnelly
f90d145688 Rename to cainjector
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-27 15:26:23 +00:00
jetstack-bot
ccd2dd8533
Merge pull request #1398 from DirectXMan12/feature/ca-controllers
Add a CA Injector Controller
2019-02-27 14:59:44 +00:00
Solly Ross
42248a91d7 CA Injector Controller
This implements a CA injector controller using controller-runtime.
It looks at admission webhooks and APIServices with a particular
annotation, and injects the CA data from certificates.

Signed-off-by: Solly Ross <sollyross@google.com>
2019-02-26 21:47:34 -08:00
James Munnelly
5a10008790 Only assert that the not ready condition is set in acme failure case test
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-25 17:49:54 +00:00
Daniel Morsing
2d21983486 Implement test for HTTP->HTTPS redirects during ACME HTTP01 challenges (#1303)
* Add test for http->https redirects

This makes sure that when we're handling http->https redirects like
letsencrypt/boulder would for acme HTTP-01 validations

Signed-off-by: Daniel Morsing <dmo@jetstack.io>

* add initial TLS cert in hopes that this will make the TLS redirect work

Signed-off-by: Daniel Morsing <dmo@jetstack.io>

* make nginx-ingress not cheat on redirects

Signed-off-by: Daniel Morsing <dmo@jetstack.io>

* skip test until nginx-ingress is fixed

Signed-off-by: Daniel Morsing <dmo@jetstack.io>

* run bazel update

Signed-off-by: Daniel Morsing <dmo@jetstack.io>

* gofmt

Signed-off-by: Daniel Morsing <dmo@jetstack.io>

* reenable no-tls-redirects

Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-25 15:01:19 +00:00
James Munnelly
b9a0c51933 Don't return errors if retrieving pod logs fails
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-22 17:11:10 +00:00
jetstack-bot
10924002e5
Merge pull request #1388 from DanielMorsing/killedpod
Recreate dead solver pods during self-check
2019-02-20 17:13:39 +00:00
Daniel Morsing
0607eed5c7 change polling interval to 1 second
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-20 14:35:05 +00:00
Daniel Morsing
b2f58945e4 change test name
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-20 14:34:01 +00:00
Daniel Morsing
4357987146 add test for killed solver pod
Signed-off-by: Daniel Morsing <dmo@jetstack.io>
2019-02-19 15:22:07 +00:00
James Munnelly
1f48f3d1d4 gofmt
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:25:56 +00:00
James Munnelly
e20c3ffb82 Fix test/e2e/util for new pkg/api/util package
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-19 11:25:56 +00:00
jetstack-bot
ed0c86e9b9
Merge pull request #1306 from munnerz/manual-e2e-images
Add manual tag to charts image targets
2019-02-13 13:48:32 +00:00
jetstack-bot
7411f1c727
Merge pull request #1212 from munnerz/arm-builds
Add arm32 and arm64 bazel image targets
2019-02-13 13:48:20 +00:00
James Munnelly
149cbb30a7 Add arm32 and arm64 bazel image targets
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-08 15:10:45 +00:00
James Munnelly
66dcaf4c3c Add Eventually before Consistently
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-08 13:40:08 +00:00
James Munnelly
d8881db67d Fix up use of Consistently
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-02-08 13:40:07 +00:00