Tim Ramlot
a8743628a4
only print Helm install output on error
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-04 10:21:27 +00:00
Tim Ramlot
9897f2355c
upgrade ginkgo to v2
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-04 10:16:29 +00:00
Tim Ramlot
f6a381d247
replace 'github.com/onsi/ginkgo' with 'github.com/onsi/ginkgo/v2'
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2022-08-03 15:28:23 +00:00
Ashley Davis
fb231ab641
Remove bazel 🎉
...
This removes all .bazel and .bzl files, and a bunch of scripts relating
to bazel, now that it's been entirely replaced.
There are still a few places where traces could be removed, but this
removes the brunt of the bazel stuff that remains.
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-07-26 11:38:50 +01:00
Joakim Ahrlin
de08109be0
add VerifyCredentials to Venafi issuers setup
...
Signed-off-by: Joakim Ahrlin <joakim.ahrlin@gmail.com>
2022-06-14 12:26:38 +02:00
Alessandro Vermeulen
1da01211ee
Feature gated support for using literal subjects in Certificates
...
Signed-off-by: Alessandro Vermeulen <alessandro.vermeulen@ing.com>
2022-06-08 20:50:00 +02:00
Maël Valais
2205bafef5
e2e: WaitForAllPodsRunningInNamespaceTimeout: %s missing value in logs
...
Signed-off-by: Maël Valais <mael@vls.dev>
2022-03-29 10:54:26 +02:00
Maël Valais
d6ebdda49c
make/e2e.sh: add a backoff to the log.Logf when waiting for something
...
Signed-off-by: Maël Valais <mael@vls.dev>
2022-03-29 10:45:08 +02:00
Monis Khan
2a33c7a5c2
Use Kubernetes CSR spec.expirationSeconds to express cert duration
...
This change adds the ability to express certificate duration using
the Kubernetes CSR spec.expirationSeconds field alongside the existing
approach of using the experimental.cert-manager.io/request-duration
annotation. Both approaches are supported as the expirationSeconds
field requires Kubernetes v1.22+.
Signed-off-by: Monis Khan <mok@vmware.com>
2022-03-21 09:40:32 -04:00
irbekrm
cdaeb0599a
Removes the creation of the unused test istio GatewayClass
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-03-12 16:13:06 +00:00
Tathagata Paul
6503f4f83c
e2e for issuers and cluster issuers ready state
...
Signed-off-by: Tathagata Paul <tathagatapaul7@gmail.com>
2022-03-03 19:15:36 +05:30
Joakim Ahrlin
eb64e6494c
update deps and BUILD files
...
Signed-off-by: Joakim Ahrlin <joakim.ahrlin@gmail.com>
2022-03-01 15:05:18 +00:00
Jake Sanders
c96d91d586
Update the sig-network Gateway API support to v1alpha2
...
Co-authored-by: Joakim Ahrlin <joakim.ahrlin@gmail.com>
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2022-03-01 15:05:17 +00:00
joshvanl
d3052a81e4
Require Gateway API feature gate for Gateway API tests. Add a helper
...
func
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-02-14 11:51:15 +00:00
Ashley Davis
3a055cc2f5
rename all uses of github.com/jetstack/cert-manager
...
This was done by running the following command twice:
```bash
grep -Ri "github.com/jetstack/cert-manager" . | \
cut -d":" -f1 | \
sort | \
uniq | \
xargs sed -i
"s/github.com\/jetstack\/cert-manager/github.com\/cert-manager\/cert-manager/"
```
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-02-02 09:08:31 +00:00
joshvanl
c18571a78d
Remove json tags from internal API types.
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-18 14:04:53 +00:00
joshvanl
685dd79c0c
Makes some minor API naming changes, and clears up some docs around the
...
Certifcate's additional output formats.
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-14 20:00:26 +00:00
Thierry Sallé
d0094ce277
[e2e] Add more e2e test for additional output formats
...
Signed-off-by: Thierry Sallé <seuf76@gmail.com>
2022-01-14 11:10:32 +01:00
Thierry Sallé
7f8641dd94
[additionalOutputFormats] Update comments and add more tests
...
Signed-off-by: Thierry Sallé <seuf76@gmail.com>
2022-01-14 11:10:32 +01:00
Thierry
81f308221b
Add certifcate additionalOutputFormats parameter
...
DER Format to create key.der binary format of the private key.
CombinedPEM Format to create tls-combined.pem containing tls.key + tls.crt.
Added Unit and e2e tests for secret with Additional output format.
Feature flag AdditionalCertificateOutputFormats to enable feature.
Signed-off-by: Thierry Sallé <seuf76@gmail.com>
2022-01-14 11:10:32 +01:00
jetstack-bot
59c0b40721
Merge pull request #4703 from JoshVanL/test-e2e-feature-gate-piping
...
Pipes in the feature gates from environment to e2e binary
2022-01-05 10:44:44 +00:00
Ashley Davis
727e29a747
three small goimports fixes against current HEAD
...
rather than using the default suggested `v1` names for some imports, we
use more descriptive names
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-01-04 16:05:42 +00:00
joshvanl
c600ba07a0
Pipes in the feature gates from environment to e2e binary. Test for
...
shared feature gate existence within CertificateSigningRequest suite
test
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2022-01-04 13:17:06 +00:00
Igor Zibarev
f9ceb8a73e
Fix some lint issues regarding comments
...
References issue #4457
Signed-off-by: Igor Zibarev <zibarev.i@gmail.com>
2021-11-02 13:57:20 +03:00
Eng Zer Jun
54e70d2cc4
refactor: move from io/ioutil to io and os package
...
The io/ioutil package has been deprecated in Go 1.16. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-08-23 19:50:42 +08:00
irbekrm
831b87898f
Explicitly set Venafi Cloud e2e tests to use v2 endpoint
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-08-18 12:52:05 +01:00
Inteon
ef31a2ea08
cleanup & better error debug printing
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-06 17:31:58 +02:00
jetstack-bot
8d0c228a1f
Merge pull request #4298 from inteon/fix_test_flake
...
Improve certificate condition checking and error logging
2021-08-05 09:43:39 +01:00
Inteon
66820ed03e
resolve bugs
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-04 18:50:29 +02:00
Inteon
7bf6bf93bf
cleanup test functions
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-04 15:11:30 +02:00
Inteon
2d2bde57c0
improved certificate condition checking and error logging
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-03 23:00:42 +02:00
Jake Sanders
b19bdff66b
Tidy certificate test suites
...
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-02 14:53:15 +01:00
Jake Sanders
90e4324c7a
e2e tests for Gateway HTTP01 Solver
...
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-02 14:12:30 +01:00
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
2baaea339f
created a fs for long domain
...
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-07-27 19:13:19 +05:30
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
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
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
jetstack-bot
75d91bcb29
Merge pull request #4103 from JoshVanL/certificate-signing-request=vault
...
CertificateSigningRequest Vault controller
2021-07-02 13:33:37 +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
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
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
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
f054611b32
Change vault policy string to not require escaping
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-06-29 10:41:03 +01:00