Commit Graph

134 Commits

Author SHA1 Message Date
James Munnelly
0472ac4f09 Print 'kubectl apply' output during e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-11 11:05:26 +01:00
James Munnelly
6138f0c3c4 Fix e2e jobs on Kubernetes 1.14 and below
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-10 18:36:19 +01:00
JoshVanL
e64d0a26be Add allowed URI names to e2e test vault server
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:48:37 +01:00
JoshVanL
15fccf9ebb Adds describe CertificateRequest in tests when waiting for valid
certificate fails and enable no CommonName for vault server

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:48:37 +01:00
JoshVanL
8175a59ab3 Changes e2e test for DNS for expected to be subset
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:48:37 +01:00
JoshVanL
b48b0e58fd Prevent panic in e2e tests caused by change in DNS name behaviour
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:48:37 +01:00
JoshVanL
13b0584838 Change behaviour to be more relaxed around common names
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:48:37 +01:00
JoshVanL
88cadca433 Adds proper checking for common name in e2e tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:48:37 +01:00
JoshVanL
dd7213866f Adds validation for URIs to certificate validation
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-10-02 17:48:37 +01:00
James Munnelly
655b432e32 Bump ingress-nginx to a version compatible with k8s 1.16
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-10-02 15:21:17 +01:00
JoshVanL
869370e226 Cleans up code and naming
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-26 17:35:52 +01:00
JoshVanL
cd53c9e004 Wait for secret to contain cert for deletion e2e test
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-26 17:35:01 +01:00
JoshVanL
bcd94fc2f1 e2e: Adds fuz to cert duration check and fix waiting for cert unready
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-26 17:35:01 +01:00
JoshVanL
0f55a21e32 Set vault e2e to key_type=any
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-26 17:34:42 +01:00
JoshVanL
ced21c287f Conformance: Ensure if a certificate is deleted then a new certificate is signed with
same key

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-26 17:34:42 +01:00
James Munnelly
973f4aa424 Update codebase for external dependencies
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 12:52:43 +01:00
JoshVanL
9ffaae5bfd Adds review comments
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-23 14:01:19 +01:00
JoshVanL
5f25ffadd8 Increase scope of vault addon tokenreview permissions to cluster
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-23 13:54:48 +01:00
JoshVanL
f6e1964b93 Set role name correctly for vault addon with Kube Auth
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-23 13:54:48 +01:00
JoshVanL
f2f5fccb85 Addresses comments and makes vault auth pointers
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-23 13:54:48 +01:00
Adam Kunicki
7058dfc687 Added Kubernetes authentication type for Vault Issuer
Signed-off-by: Adam Kunicki <adam@streamsets.com>
2019-09-23 13:33:29 +01:00
James Munnelly
f2f3aee50d Update codebase for new API group
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-23 12:06:13 +01:00
James Munnelly
bf9fbea23f Update codebase for new meta apigroup
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 19:25:04 +01:00
James Munnelly
eda613e6f0 Revert API version change in samplewebhook
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 17:26:55 +01:00
James Munnelly
58754abf37 Refactor codebase for v1alpha2
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 16:22:43 +01:00
JoshVanL
6a362c67b0 Move e2e output logs with suffixes
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-12 15:59:54 +01:00
JoshVanL
3455747723 Include previous logs and use all containers from pods
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-11 22:02:10 +01:00
James Munnelly
c4e00311ba Set certificate name annotation in certificates controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-03 11:20:51 +01:00
stuart.warren
7eb1e34e48 feat: enable certificate keyusages
Enable users to request x509 key usages and extended key usages when
defining a certificate or certificate signing request

fixes: #301

Signed-off-by: stuart.warren <stuart.warren@ocado.com>
2019-08-31 01:00:00 +01:00
JoshVanL
277dc7ab17 Adds CertificateRequest to condition matcher in e2e tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +01:00
James Munnelly
5bd0a37686 Update Deployment manifests to use apps/v1
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-22 13:40:13 +01:00
jetstack-bot
458c7193d4
Merge pull request #1861 from munnerz/e2e-logging
Fix fetching logs in e2e test framework
2019-07-08 14:11:46 +01:00
James Munnelly
20e6a08a87 Fix fetching logs in e2e test framework
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-08 12:52:07 +01:00
JoshVanL
f9417da5c5 Fixes and adds tests to utils/Equal.. funcs
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-04 15:21:00 +01:00
JoshVanL
22ba831acb Fixed some e2e test condition logic
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-04 13:19:14 +01:00
JoshVanL
98d5725eea WIP, add CertificateRequest e2e tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-07-03 15:59:05 +01:00
jetstack-bot
be95598d20
Merge pull request #1505 from DirectXMan12/feature/certs-in-conv-webhook
Add support for CRDs to the CA injector
2019-07-03 12:27:31 +01:00
James Munnelly
de34f0410d Use binary image targets to avoid building multiple architectures all the time
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-02 17:29:32 +01:00
Solly Ross
8155ed71b5 Expand/generalize CA injector tests
This expands/generalizes the CA injector tests to all object types that
the CA injector supports.

Signed-off-by: Solly Ross <sollyross@google.com>
2019-06-19 16:09:31 -07:00
James Munnelly
bfcac2b257 Fix loggableAddon interface in test framework
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-06-18 13:48:10 +01:00
jetstack-bot
fe00f40a34
Merge pull request #1648 from munnerz/post-as-get
Add support for ACMEv2 POST-as-GET
2019-06-05 19:48:39 +01:00
jetstack-bot
1c10f34089
Merge pull request #1663 from munnerz/distroless
Switch to gcr.io/distroless/static base image
2019-06-05 11:48:39 +01:00
jetstack-bot
57e52689d5
Merge pull request #1683 from unicell/fix-license
Correct test/e2e/framework/cleanup.go license header
2019-05-24 02:22:32 +01:00
Michael Tsang
21eae84ce4 Add chart version to helm install when running tests
Signed-off-by: Michael Tsang <michael.tsang@jetstack.io>
2019-05-22 14:40:12 +01:00
Qiu Yu
f75bbd309a Correct test/e2e/framework/cleanup.go license header
The license header got overwritten as part of this commit 51195e4c

This change rolls it back with additional directive to skip license
check in favor of hack/verify_boilerplate.py

Signed-off-by: Qiu Yu <unicell@gmail.com>
2019-05-15 15:47:03 -07:00
James Munnelly
fbf788d41f Switch to gcr.io/distroless/static base image
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-10 12:01:53 +01:00
James Munnelly
f672720ce4 Add Pebble 'strict' mode support in e2e test suite
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-05-07 15:26:29 +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
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