49 Commits
Author SHA1 Message Date
Inteon 7bf6bf93bf cleanup test functions
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-04 15:11:30 +02:00
Inteon 2d2bde57c0 improved certificate condition checking and error logging
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-03 23:00:42 +02:00
Inteon bfb11d279d correctly print conditions during tests
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-03 16:54:00 +02:00
jetstack-botandGitHub b04e42c437 Merge pull request #4253 from JoshVanL/apiextensions-v1beta1-v1
Conversion: Apiextensions v1beta1 -> v1
2021-07-30 15:49:49 +01:00
Jake Sanders b695af3fa3 nit: imports
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-07-27 09:59:14 +01:00
Jake Sanders fc428d763e Fix e2e tests on Kube 1.16 by removing last references to NetworkingV1
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-07-26 22:30:41 +01:00
Jake Sanders 63d7cb551e ./hack/update-all
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-07-26 19:15:08 +01:00
Jake Sanders 2df84b92d0 Update e2e tests to use beta Ingress APIs if v1 is unavailable
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-07-26 19:08:28 +01:00
Jake Sanders 67c6586161 Addressing code review comments in #4225
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-07-26 18:29:54 +01:00
Jake Sanders b6f085c04a e2e tests now use networking.k8s.io/v1 ingresses
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-07-26 18:29:45 +01:00
joshvanl a3cb2b8a41 Update ACME e2e tests to use apiextensions v1beta1 -> v1
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-26 17:03:58 +01:00
Inteon ac677964c1 resolve test flakes 'the object has been modified'
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-22 10:10:39 +02:00
Maël Valais 1cd44fa730 gateway-shim: conformance: a cert should get created for a Gateway
Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-15 20:34:50 +02:00
Inteon fd20a0584a Add explicit WithObservedGeneration versions of the Wait and Condition functions
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-06-29 15:48:13 +02:00
Inteon 879108d9e4 deduplicate logic in CertificateHasCondition, WaitForCertificateReady & add WaitForCertificateReadyUpdate for testing Certificate update operations
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-06-29 14:16:30 +02:00
Inteon 6ceaf6d4bd deduplicate subdomain name generation logic in tests
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-06-29 12:29:45 +02:00
Anner J. BonillaandAshley Davis 9546a357a5 Add support for certificates with ed25519 private keys
Note that using ed25519 on the public internet is not currently
recommended, since it's not widely supported. You'd likely not be able
to use an Ed25519 cert with an ACME issuer today.

Ed25519 certs might be useful for internal PKI, though - an ed25519 CA
issuer, say - or for testing ed25519 certs before they become more
widely available on the public internet. They're not currently
supported by Vault, Venafi or ACME (Letsencrypt) issuers.

Signed-off-by: Anner J. Bonilla <abonilla@hoyosintegrity.com>
Signed-off-by: Anner J. Bonilla <annerjb@gmail.com>
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-06-14 11:17:35 +01:00
Jake Sanders 79d8d9cb7b Revert "Merge pull request #3724 from inteon/istio-virtualservice-for-http01"
This reverts commit 80f27739b5, reversing
changes made to 96604d02a3.

Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-05-11 14:50:25 +01:00
Inteon 30634f154c improve Certificate is Ready test
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-04-28 09:20:47 +02:00
irbekrm 333f600661 Remove legacy e2e util functions for Issuer creation
Use test/util/gen instead

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-04-08 18:30:45 +01:00
jetstack-botandGitHub cdc53b65cb Merge pull request #3500 from meyskens/update-copy
Update copyright to cert-manager project
2020-12-15 10:12:31 +00:00
Maartje Eyskens ab0cd57dc5 Use The cert-manager Authors.
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-12-11 19:04:13 +01:00
Maartje Eyskens 1788a9d758 Update copyright to cert-manager project
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-12-08 19:04:49 +01:00
Maartje Eyskens 65281efff1 Migrate Ingress to networking.k8s.io/v1beta1
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-12-08 14:46:01 +01:00
Richard Wall 12bb9aa58f Fix nil pointer panic in e2e test suite
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall 81eb53f597 ./hack/update-all.sh
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:28:06 +01:00
Richard Wall a70298180a Run a script to update v1alpha2 usage to v1
Script is available at https://github.com/jetstack/cert-manager/pull/3201

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-08-20 14:26:51 +01:00
James Munnelly 881b886049 Update Kubernetes API client call-sites
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-26 12:58:50 +00:00
JoshVanL b72e8341df Correctly wait for issue on e2e tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-13 14:36:31 +00:00
JoshVanL d6248d20bd Make vault issuer to point to resource namespace over certificaterequest
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-13 11:02:43 +00: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 f2f5fccb85 Addresses comments and makes vault auth pointers
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-09-23 13:54:48 +01:00
Adam KunickiandJoshVanL 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 406e977c8e Update test/ packages for new ACME group
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-23 10:07:53 +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 58754abf37 Refactor codebase for v1alpha2
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-20 16:22:43 +01:00
James Munnelly 8962c3fe8a Update e2e test suite to not use new fields
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-19 13:07:58 +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 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
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 b3ec6a6f24 Update reference to deprecated method
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-14 15:51:44 +01: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
James Munnelly 31eeb5fe2a Refactor WaitCertificateValidTLS and run kubectl describe on test failure
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-31 22:25:46 +00:00
Mike BryantandLouis Taylor 018f3642e9 test: Add tests of second level ca issuer
This demonstrates that the certificates generated from an issuer 2 levels down do not validate

Signed-off-by: Mike Bryant <m@ocado.com>
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-09 11:39:48 +00:00
Mike BryantandLouis Taylor 92d30c60c2 test: Verify certificates issued by the ca issuer
Use the standard X509 certificate validation to check that
generated certificates can be validated by clients

Signed-off-by: Mike Bryant <m@ocado.com>
2019-01-09 11:39:48 +00:00
James Munnelly 2d55a8fa26 Use framework/log instead of glog
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 22:14:04 +00:00
James Munnelly e46837f64c Replace calls to glog with GinkgoWriter
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 20:47:58 +00:00
James Munnelly 60e6755f3f Move util testing package into e2e/util
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-01-07 20:45:45 +00:00