Commit Graph
902 Commits
Author SHA1 Message Date
Jonathan Prates ababc24670 fix: add SetCertificateSecretTemplate function comment
Signed-off-by: jonathansp <jonathansimonprates@gmail.com>
2021-08-03 01:19:11 +01:00
Jonathan Prates 936ad33539 fix: ensure secret annotations and labels will be copied if updated in the cert
Signed-off-by: jonathansp <jonathansimonprates@gmail.com>
2021-08-03 01:19:11 +01:00
Jonathan Prates 47bc03e7c4 feat: add support to secretTemplates
Signed-off-by: jonathansp <jonathansimonprates@gmail.com>
2021-08-03 01:19:11 +01:00
jetstack-botandGitHub 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-botandGitHub 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
jetstack-botandGitHub 25320ceaa8 Merge pull request #4252 from JoshVanL/admissionregistration-v1beta1-v1
Change admissionregistration.k8s.io v1beta1 to v1 in integration tests
2021-07-29 20:44:41 +01:00
joshvanl 1d926e8e50 Adds UserInfo fields to conversion webhook tests
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-29 17:35:13 +01:00
joshvanl d261e2eadb Defined AdmissionReviewVersions:[]string{"v1"} in API webhook
configuration integration tests

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-29 14:54:17 +01:00
jetstack-botandGitHub d062176777 Merge pull request #4243 from inteon/improved_go_routines
Cleanup goroutine management
2021-07-28 15:36:41 +01:00
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
joshvanl 58519e442a Change admissionregistration.k8s.io v1beta1 to v1 in integration tests
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-26 16:26:45 +01:00
jetstack-botandGitHub 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
jetstack-botandGitHub 218408a741 Merge pull request #4112 from JoshVanL/certificate-signing-request=acme
CertificateSigningRequest ACME Controller
2021-07-26 11:51:12 +01:00
jetstack-botandGitHub 77c5c2fb16 Merge pull request #4184 from inteon/kubectl_certmanager_install_tests
Add basic tests to kubectl cert-manager x install
2021-07-23 16:16:19 +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
joshvanl c9f5cbd0bc Adds more modifier funcs to Order in unit gen
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-07-23 16:00:09 +01:00
Inteon 81e216eeba wait for goroutines to end before exiting
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-23 15:30:26 +02:00
Inteon 769e057663 metrics server simplify
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-23 15:30:02 +02:00
Inteon 0ed0135930 Improvements based on reviewer's feedback
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-23 15:29:43 +02: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 DavisandGitHub 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