Commit Graph
200 Commits
Author SHA1 Message Date
Richard Wall 3d7f370b21 Re-enable the cainjector E2E tests for apiregistration
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-04-06 14:04:26 +01:00
joshvanl 1235ff3bef Adds tests to ensure Approve is present, and Denied is not
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-17 13:10:39 +00:00
joshvanl e6c74d94b4 Adds check for approval condition in e2e CertificateRequest helper
func

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-17 13:10:39 +00:00
joshvanl 1232ff799d Reorder ready condition if statement to make more clear
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-04 17:04:11 +00:00
joshvanl c07106ed6b Adds ExpectConditionReadyObservedGeneration as a framework validation
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-04 17:04:11 +00:00
joshvanl d02f043354 Adds a check of the observedGeneration in e2e tests for ready
certificates

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-03-04 17:04:11 +00:00
Richard Wall 9eadb56cb9 Disable trust chain verification in ACME issuer e2e tests
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-01-20 14:26:43 +00:00
Richard Wall 51a334bd6e Clearer error messages
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-01-20 14:14:48 +00:00
Richard Wall f33066021e Always run the e2e trust chain checks
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-01-20 14:14:48 +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
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