Commit Graph

357 Commits

Author SHA1 Message Date
James Munnelly
34b0a19fc4 Add CertificateRequest based ACME conformance tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-04 12:24:05 +01:00
James Munnelly
35dc8692b4 Fix completing suite config
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-04 12:23:43 +01:00
James Munnelly
a04d9a3689 Add very basic Certificates based conformance suite
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-03 11:20:51 +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
jetstack-bot
e476d17fc5
Merge pull request #1996 from ocadotechnology/wip-301
feat: enable crt/csr keyusages and extended keyusages
2019-09-02 10:41:04 +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
Olaf Klischat
4dfae9296f test/acme/dns: poll interval and propagation limit configurable
Signed-off-by: Olaf Klischat <olaf.klischat@gmail.com>
2019-08-26 10:12:26 +02:00
JoshVanL
ad18215690 Ensure we watch CertificateRequests in venafi e2e tests for
CertificateRequests

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
3634f5d0db Adds venafi CertificateRequest e2e tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
JoshVanL
858caf3c34 Completes ./internal/venafi tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-19 16:04:12 +01:00
jetstack-bot
8ab4dc1301
Merge pull request #1943 from JoshVanL/cr-acme
Adds acme CertificateRequest controller
2019-08-17 00:34:00 +01:00
jetstack-bot
3716902b84
Merge pull request #1993 from munnerz/webhookbootstrap-controller
Use dedicated controller for bootstrapping webhook TLS
2019-08-15 17:35:56 +01:00
JoshVanL
7869f99edf Fix test package name and acme tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +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
JoshVanL
393f7c20e5 Remove Failed reason from invalid acme URL
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +01:00
JoshVanL
0f08f40316 Move fake order lister to ./test/unit/listers
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +01:00
JoshVanL
06d02a7b63 Adds CR acme e2e tests for http
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +01:00
JoshVanL
b28d444deb Addes dns e2e test for acme CertificateRequest
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-15 17:18:11 +01:00
jetstack-bot
d4a675ee66
Merge pull request #1995 from JoshVanL/cr-test-refactor-sync
Include the shared controller Sync function in all CR controller tests
2019-08-15 17:13:56 +01:00
JoshVanL
ebf38dbfbb Refactor and cleans up SelfSigned CR controller tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-14 22:24:14 +01:00
James Munnelly
dbf3258f4c Move cainjector annotations into apis package
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-14 19:36:56 +01:00
James Munnelly
d21a5faa8c Fixup tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-14 14:17:55 +01:00
James Munnelly
cf82c21ac6 Update e2e tests to cover inject-ca-from-secret option
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-08-14 12:57:03 +01:00
JoshVanL
25f374da19 Fix pkg/internal/vault/fake
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-13 23:37:35 +01:00
JoshVanL
ea84dfdb2b Code organisation and cleaning up code
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-13 23:37:35 +01:00
JoshVanL
1cf815081f Get CR before checking duration on cert
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-13 23:37:06 +01:00
JoshVanL
40f91530ba Use RSA keys for e2e vault CR tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-13 23:37:06 +01:00
JoshVanL
f5df357af1 Adds CR vault e2e tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-13 23:37:06 +01:00
JoshVanL
ad5e109983 Adds initial cr vault unit tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-13 23:37:06 +01:00
JoshVanL
f8c617a582 Adds failure time to CertificateRequest Status
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-12 12:41:54 +01:00
JoshVanL
eca238f451 Update selfsigned issuer e2e tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-01 16:39:01 +01:00
JoshVanL
8d64a946c6 Initialises CR annotations in SelfSigned e2e tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-01 16:39:01 +01:00
JoshVanL
f26ea8dfb6 Adds selfsigned certificaterequest e2e tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-01 16:39:01 +01:00
JoshVanL
8be302dc10 Moves fake lister into /test and removes logging from reporter
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-08-01 13:44:19 +01:00
James Munnelly
5aeee11598 Add unit tests for deprecated config feature flag
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-26 17:18:48 +01:00
James Munnelly
d43fb909c4 Convert acmechallenges controller to use test builder directly
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-26 14:14:48 +01:00
jetstack-bot
e3b1fb7e75
Merge pull request #1914 from munnerz/add-k8s114-115
Add e2e dependencies for k8s 1.14, 1.15 and 1.16-alpha
2019-07-23 13:22:25 +01:00
jetstack-bot
2e03be48eb
Merge pull request #1907 from munnerz/kubernetes-1.15.1
Bump Kubernetes dependencies to 1.15.1
2019-07-23 11:44:25 +01:00
James Munnelly
9810c37c33 Bump to latest helm/tiller version
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-22 20:54:15 +01:00
James Munnelly
9c55f2603f Add v1beta2 kubeadm config
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-22 20:46:55 +01:00
James Munnelly
a0c8a776c6 Bump kind Config manifest version
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-22 20:46:55 +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
James Munnelly
c619800044 Fix tests for new struct names
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-20 01:57:47 +01:00
James Munnelly
088e196d82 Add experimental certificate request based controller
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-17 10:07:36 +01:00
James Munnelly
57641eec7b Create separate files for various Bazel dependencies
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-09 11:23:34 +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
jetstack-bot
c6cd522a6a
Merge pull request #1836 from JoshVanL/ca-issuer-cr-controller
Add alpha CertificateRequest controller for CA Issuer type
2019-07-08 14:11:34 +01:00
James Munnelly
dcb76be062 Skip Venafi issuer e2e tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-08 13:24:16 +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
James Munnelly
22c275f752 Update cr variable after waiting for it to be issued
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-05 18:14:36 +01:00