Commit Graph

587 Commits

Author SHA1 Message Date
jetstack-bot
94d854c525
Merge pull request #4244 from RinkiyaKeDad/new_featureset
adding a new feature set for Public ACME servers
2021-08-02 12:57:06 +01:00
Arsh Sharma
89bf0022d6 changes from pair programming sesh
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-08-02 16:22:51 +05:30
jetstack-bot
b04e42c437
Merge pull request #4253 from JoshVanL/apiextensions-v1beta1-v1
Conversion: Apiextensions v1beta1 -> v1
2021-07-30 15:49:49 +01:00
Arsh Sharma
58410f5deb added comment for skip
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-07-30 18:21:58 +05:30
Arsh Sharma
8ce7ca8d63 testing: seeing if skip option fixes the failing tests
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-07-30 17:00:56 +05:30
Arsh Sharma
2baaea339f created a fs for long domain
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-07-27 19:13:19 +05:30
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
85cb26e3c5
Fix cache modification + cert flake in e2e tests
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-07-27 09:48:07 +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
edcbd4fff6
Fix redirection HTTP01 test
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-07-26 20:35:50 +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
jetstack-bot
f278903c4e
Merge pull request #4239 from inteon/fix_flakes
Resolve test flakes "the object has been modified"
2021-07-26 14:47:12 +01:00
joshvanl
b84e3edcc9 Review comments
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-23 16:00:09 +01:00
joshvanl
bec5d5be32 Remove CA annotation from ACME CertificateSigningRequest controller
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-23 16:00:09 +01:00
joshvanl
2a1952c918 Adds ACME CSR to E2E conformance test suite
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-23 16:00:09 +01:00
joshvanl
1284f358d0 Adds missing required feature to CommonName CSR E2E test
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-23 16:00:09 +01:00
irbekrm
84f653f01f e2e test setup installs a different version of Ingress depending on k8s version
This is needed because there are no NGINX ingress release that would support work both on k8s v1.16-v1.18 as well as v1.22

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-22 19:35:57 +01:00
Arsh Sharma
83f80691c7 changes from pair programming session 22nd July
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-07-22 17:18:22 +05:30
Inteon
c377e0e0cd
add comments
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-22 13:08:11 +02: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
Ashley Davis
31360580f0
Merge pull request #4232 from SgtCoDFish/cabasicconstraint_e2e
CA Basic Constraint checks in e2e tests
2021-07-21 14:10:03 +01:00
Ashley Davis
05b31e96f2
add conformance suite check for issuing CA certificates
this is disabled for all issuers except selfsigned and CA. the intention
is to pave the way for adding maxPathLen support later.

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-07-20 12:09:17 +01:00
Ashley Davis
6b5df6b42b
remove unused ValidateIssuedCertificate function
this function doesn't appear to be used anywhere, which makes it a
little confusing when trying to work out how the checks are done in the
e2e tests.

given that we encourage people not to import cert-manager as a module
and that anyone who does is likely not to use functions in the test
directory, it seems safe enough to remove this rather than deprecating
it.

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-07-20 12:08:06 +01:00
Ashley Davis
24baa7e526
minor code style / comment changes in test files
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-07-19 17:19:13 +01:00
joshvanl
0fdd52e603 Adds comments to some func's and changes return err names to be more
clear

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-19 15:50:23 +01:00
joshvanl
37e117c452 Change CSRModifer in Kube CSR conformance tests to be a function in
definition so has access to runtime shared variables at runtime

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-19 15:50:23 +01:00
joshvanl
8413b302fd Adds random domain suffix to Venafi e2e tests
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-19 15:50:23 +01:00
joshvanl
644cda69d8 Disable Ed255119 e2e tests for Venafi CSRs
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-19 15:50:23 +01:00
joshvanl
a469e07f1a Adds Venafi E2E CertificateSigningRequest conformance suite
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-19 15:50:23 +01:00
joshvanl
ff2dfd7b64 Moves venafi addon into the framework addons package
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-19 15:50:23 +01:00
Maël Valais
073fce8db5 e2e: retry the certificate update due to optimistic locking
Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-15 20:35:47 +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
b852735a95
upgrade ginkgo & gomega
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-10 20:52:09 +02:00
Inteon
d4b3ee79c4
move "should obtain a signed certificate with an IP and DNS names from the ACME server" from issuers to conformance
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-05 17:53:55 +02:00
Inteon
02654fd107
move "should obtain a signed certificate with a single IP Address from the ACME server" from issuers to conformance
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-05 17:53:55 +02:00
Inteon
f0e83feac2
rename tests & add comments
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-05 17:53:55 +02:00
Inteon
b3a7dbf247
add "should issue an Ed25519, defaulted certificate for a single distinct DNS Name" test
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-05 17:53:55 +02:00
Inteon
0fa8255019
move "should obtain a signed certificate for a wildcard and apex domain" from issuers to conformance
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-05 17:53:55 +02:00
Inteon
a62bb6a10a
Correction: wildcard DNS Name should be a wildcard
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-05 17:53:54 +02:00
Inteon
02aa9f0f0c
Remove issuers specific tests that are already included in the conformance tests:
remove http01: "should obtain a signed certificate with a single CN from the ACME server"
remove http01: "should obtain a signed ecdsa certificate with a single CN from the ACME server"
remove http01: "should obtain a signed certificate with a CN and single subdomain as dns name from the ACME server"

Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-05 17:53:54 +02:00
Inteon
cd776f04d1
move "should allow updating an existing certificate with a new dns name" from issuers to conformance
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-05 17:53:54 +02:00
Inteon
c1284d5ef8
move "should obtain a signed certificate for a long domain" from issuers to conformance
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-05 17:53:54 +02:00
Inteon
0f372c0812
Remove issuers specific tests that are already included in the conformance tests:
remove dns01: "should obtain a signed certificate for a regular domain"
remove dns01: "should obtain a signed certificate for a wildcard domain"

Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-05 17:53:26 +02:00
jetstack-bot
75d91bcb29
Merge pull request #4103 from JoshVanL/certificate-signing-request=vault
CertificateSigningRequest Vault controller
2021-07-02 13:33:37 +01:00
jetstack-bot
43bc321ed3
Merge pull request #4157 from inteon/test_cleanup_2
cleanup tests: WaitForCertificateReady
2021-06-30 18:19:57 +01:00
joshvanl
943f9abdb1 Minor comment and error message changes
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-30 18:09:32 +01:00