Commit Graph

854 Commits

Author SHA1 Message Date
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
Lars Lehtonen
dccda3b321
test/integration/acme: fix dropped error
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2021-07-13 04:39:04 -07:00
jetstack-bot
4dfb5add86
Merge pull request #4182 from irbekrm/upgrade_test
Upgrade test
2021-07-11 13:45:01 +01:00
Inteon
b852735a95
upgrade ginkgo & gomega
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-10 20:52:09 +02:00
irbekrm
1095e7f4c0 Adds an upgrade test
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-06 17:21:58 +01:00
Inteon
e2ce115738
also reset ManagedFields in test
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-06 16:56:31 +02:00
Inteon
cd92bf321f
centralise testing api-server & remove custom implementation
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-06 16:13:44 +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
Inteon
f28e536177
add some comments
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-06-29 17:35:53 +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
jetstack-bot
cd4a2b3663
Merge pull request #4126 from RinkiyaKeDad/http-tests
replacing consts with flags in http01 tests
2021-06-29 13:17:37 +01: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
Arsh Sharma
b9db82de08 removed junk code
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-06-29 17:17:50 +05:30
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
joshvanl
2c217f0377 Remove CA field from Vault CertificateSigningRequest controllers
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-29 10:50:33 +01:00
joshvanl
f054611b32 Change vault policy string to not require escaping
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-29 10:41:03 +01:00
joshvanl
680c4f4a41 Fix vault setup in e2e by reverting ttl duration
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-29 10:41:03 +01:00
joshvanl
a6a394236b Revert Vault e2e ttl setting, and make Ed keys an unsupported feature
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-29 10:41:03 +01:00
joshvanl
889e7b9c50 Revert e2e vault setup to use original max certificate TTL, and fix
custom app role auth path in CSR tests

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-29 10:41:03 +01:00
joshvanl
f82f36bfaa Adds Vault Kubernetes Auth CSR E2E tests
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-29 10:41:03 +01:00
joshvanl
9b2466589c Adds Vault AppRole with a custom path CSR E2E tests
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-29 10:41:03 +01:00
joshvanl
21a05ea9de Adds Vault AppRole CSR e2e tests
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-29 10:41:03 +01:00
joshvanl
aac1f24450 Expands CSR validation to allow not checking CA as the Root
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-29 10:37:46 +01:00
joshvanl
2c193f9f60 Changes Vault e2e addon to enable Kubernetes Auth signing and make roles
ready for ClusterIssuer testing

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-29 09:11:43 +01:00
joshvanl
7e8bf731b2 Remove the experimental.cert-manager.io/ca annotation from the
CertificateSigningRequest

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-25 16:02:37 +01:00
Arsh Sharma
4f959af98f add code for Skip() approach
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-06-24 17:03:19 +05:30
Arsh Sharma
8669653722 old approach
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-06-24 10:15:38 +05:30
Arsh Sharma
7ca866805c more replaces
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-06-22 17:35:20 +05:30
Arsh Sharma
292c7f00a8 replaced consts with flags in http01 test
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-06-21 16:59:53 +05:30
jetstack-bot
1f602cfcd4
Merge pull request #4110 from RinkiyaKeDad/add_flags_for_acme_test
adding flags for config in the acme issuer tests
2021-06-18 14:56:23 +01:00
jetstack-bot
c23ce682eb
Merge pull request #4101 from JoshVanL/certificate-signing-request-e2e=conformance
CertificateSigningRequest E2E Conformance Suite
2021-06-18 13:13:23 +01:00
Arsh Sharma
2629d5976d combined into one struct
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-06-18 16:57:07 +05:30
joshvanl
b3804bb162 Cleans up CSR E2E validation functions, allow 30s duration fuzz, allow
common name copy to DNS names, spelling

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-18 12:20:43 +01:00
RinkiyaKeDad
607ea9c1cd initial commit
Signed-off-by: RinkiyaKeDad <arshsharma461@gmail.com>
2021-06-17 12:08:02 +05:30
joshvanl
b35a9170b7 Fix ecdsa public CSR key validation
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-16 10:43:49 +01:00
jetstack-bot
fbd2a6d06a
Merge pull request #4105 from kit837/add-clock-time-seconds
Add clock_time_seconds metric
2021-06-15 21:00:53 +01:00