Commit Graph
189 Commits
Author SHA1 Message Date
Mateusz Gozdek 27fa2f1ec4 Fix various typos found by codespell
Found by running this command:

codespell -S .git,*.png,go.sum -L keypair,iam,ans,unknwon,tage,ths,creater

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2020-11-07 14:55:13 +01:00
Richard Wall 2390b10614 Grab TPP access-token from ENVIRONMENT in e2e tests
and pass it through to the Issuer Secret

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-10-16 14:49:43 +01:00
Maartje Eyskens 21d7588e50 Make ExpectValidCommonName IP aware
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-09 17:04:11 +02:00
Maartje Eyskens bb9453a5c8 Make e2e IP aware
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-08 15:24:56 +02:00
Maartje Eyskens 918e1e04f3 Add e2e tests + fix validation
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-08 15:24:56 +02:00
Maartje Eyskens 6909c77842 Fix KU check (it all is signing... confusing)
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-06 16:28:42 +02:00
Maartje Eyskens 3df84d8711 Add ExpectCorrectTrustChain
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-06 16:08:49 +02:00
Maartje Eyskens c01a0def9f Add better tests for key usages
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-06 15:57:49 +02:00
Maartje Eyskens 9c901b058b Implement feedback
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-06 15:37:26 +02:00
c97985000c Apply suggestions from code review
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Co-authored-by: Richard Wall <wallrj@users.noreply.github.com>
2020-10-06 15:14:28 +02:00
Maartje EyskensandRichard Wall fcf316cdd4 Update test/e2e/framework/helper/validations/certificates.go
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Co-authored-by: Richard Wall <wallrj@users.noreply.github.com>
2020-09-30 17:17:24 +02:00
Maartje Eyskens 21b1caeb97 Improve import
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-30 17:17:08 +02:00
Maartje Eyskens d960199caa Make tests work
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-30 16:04:23 +02:00
Maartje Eyskens e5293af7dc Add missing bazel file
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-30 15:00:58 +02:00
Maartje Eyskens 913220a77c Make code pass with new validations from featureset
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-30 15:00:57 +02:00
Maartje Eyskens 318541ab45 Reform e2e tests to have flexible and easier to read cert verification
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-30 14:54:11 +02:00
Maartje Eyskens 195707d858 Add e2e tests for venafi cloud
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-30 14:53:34 +02:00
Maartje Eyskens f1c6c93df5 Fix CR and make a general function
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-28 15:06:54 +02:00
Richard Wall 9a640542c2 Fix nil pointer exceptions in the e2e test framework
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
jetstack-botandGitHub b8f7b5f2b5 Merge pull request #2788 from meyskens/openshift-ci
OpenShift 3.11 e2e tests
2020-07-16 10:54:48 +01:00
James Munnelly 1a2c676c61 Rename certificaterequest.spec.csr to 'request'
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-07-02 12:02:47 +01:00
Maartje Eyskens 54041ab587 Add e2e run for OpenShift 3
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-06-29 15:54:14 +02:00
JoshVanL e465329b80 Revert vault free port and expose listener port from metrics server
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-05-26 23:01:55 +01:00
JoshVanL fac8c30211 Ensures that integration tests use a free/or random port to start the
metrics server. Tests that do not depend on metrics, do not actually
start the server. Creates a shared test "FreePort" func. Fixes context
placement.

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-05-21 10:48:55 +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 7a1620a632 Adds a duration gap for the app role Vault e2e issuer test
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2020-03-10 13:18:44 +00:00
James Munnelly 9ee4a7d724 Use bind are rfc2136 server for DNS01 challenges
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-07 00:13:07 +00:00
James Munnelly 4fd0a7a89f e2e: don't wait for test namespace to be deleted before proceeding
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-06 20:47:17 +00:00
James Munnelly 9b6ba36840 e2e: remove noisy log message
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-03-06 20:47:17 +00:00
jetstack-botandGitHub 00b101de76 Merge pull request #2597 from meyskens/emailsans
Add Email SANs
2020-03-03 16:31:56 +00:00
Josh Soref 11778da61e spelling: request
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 17:20:27 -05:00
Josh Soref e27408c72f spelling: kubernetes
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-02-24 16:43:36 -05:00
Maartje Eyskens d3a623314c Add EmailSANs field
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-02-21 08:49:00 +01:00
James Munnelly af63f08074 Fixup using devel tools in CI
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-23 12:57:03 +00:00
James Munnelly 8b43813072 Update test/e2e to no longer deploy using addons
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-01-22 22:08:27 +00:00
Periklis Tsirakidis a1f63b953d Use vault api and sdk modules instead of tagged repo
Signed-off-by: Periklis Tsirakidis <periklis@nefeli.eu>
2020-01-20 12:27:09 +01:00
James Munnelly b50f0a983a Fix issue using new apiserver lib with older Kubernetes
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-12-17 17:14:42 +00:00
JoshVanL f03cf45a9e Generate Name on e2e secret names and clean up
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-13 11:03:12 +00:00
JoshVanL 836800d1e7 Correctly de-duplicate ext key usages in e2e tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-11 14:34:45 +00:00
JoshVanL b3c301dfd4 De-duplicate ext key usages is e2e tests getting defaults
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-11 13:18:30 +00:00
jetstack-botandGitHub d3254e3843 Merge pull request #2260 from JoshVanL/2247-cert-key-usages
Ensure key usages are set on CertificateRequests created by the Certificate controller
2019-11-07 17:14:34 +00:00
JoshVanL b4e62d0fce Increase vault health timeout try
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-05 17:59:38 +00:00
JoshVanL 50d9b1f038 Ignore key encipherment of e2e tests when key is EC
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-05 15:23:51 +00:00
JoshVanL b2337cdf9e Creates a proper wrapper for vault port-forwarding to keep it alive and
healthy

Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-05 14:23:23 +00:00
JoshVanL 206c4a3909 Ensure no ECDSA keys have key enrichment expected for e2e
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-05 14:22:25 +00:00
JoshVanL 9c2a37fbfd Remove key encipherment for DNS01 ACME ECDSA certs
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-05 14:22:25 +00:00
JoshVanL 2bb8bfe07a Adds server auth to Venafi default key usages
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-05 14:22:25 +00:00
JoshVanL 48afefbeb4 Adds key usage exceptions for vault in e2e tests
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
2019-11-05 14:22:25 +00:00