Commit Graph

28 Commits

Author SHA1 Message Date
Richard Wall
0dcb758119 Create a dedicated Admin user for use in tests
Instead of relying on the default user which is deprecated.

Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-01-11 16:02:06 +00:00
Tim Ramlot
e08a13496d
replace deprecated wait.PollUntil() and wait.Poll()
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-09 17:47:53 +02:00
irbekrm
a45a8b3a39 Adds a package comment, fixes imports
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-04 12:53:50 +01:00
irbekrm
206b6def1e Make external DNS webhook tests importable again
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-04 12:40:06 +01:00
Ashley Davis
6ce6ae839e
separate binaries/tests into separate modules with minimal dependencies
also add gomod validation in CI, along with a cmrel version bump

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2023-04-05 10:30:39 +01:00
irbekrm
438c79d4e3 Code review feedback: fix imports
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-01-19 12:05:56 +00:00
irbekrm
644a46c8fe Resets secrets lister in RFC2136 conformance tests
The way the tests run (a new kube apiserver with a different client created for the same initialized solver) is not how this solver would actually run

Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-01-18 17:43:34 +00:00
irbekrm
1834afaa00 A bunch of comments on webhook solver functionality
With the goal of making folks working on these parts of code be aware that this is the one bit that will be imported in external projects

Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-01-18 17:41:02 +00:00
irbekrm
8ed0faf228 Fix integration tests
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-01-05 12:07:25 +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
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
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
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
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
Jonathan Prates
466ffe336d tests: allow setting dnsname and acme challenge key for webhook integration tests
Signed-off-by: Jonathan Simon Prates <jonathan.simonprates@gmail.com>
2021-03-15 13:18:27 +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
Maartje Eyskens
e0749ad822 Implement feedback
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-27 13:02:18 +02:00
Maartje Eyskens
fecd0b3518 Set all log levels for info
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-12 10:59:41 +02:00
James Munnelly
1adfe16690 Bulk fix of non-test staticcheck failures
Signed-off-by: James Munnelly <james@munnelly.eu>
2020-06-26 12:25:08 +01:00
Maartje Eyskens
c867bc7d36 Implement MessageAcceptFunc
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-05-27 17:42:34 +02: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
James Munnelly
973f4aa424 Update codebase for external dependencies
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-09-26 12:52:43 +01:00
Olaf Klischat
4dfae9296f test/acme/dns: poll interval and propagation limit configurable
Signed-off-by: Olaf Klischat <olaf.klischat@gmail.com>
2019-08-26 10:12:26 +02:00
James Munnelly
15937ac543 Fix workspace name in default binariesPath
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-07-02 21:02:26 +01:00
James Munnelly
10092c97ee Refactor test DNS server into separate package
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-29 15:09:52 +01:00
James Munnelly
dd17e38791 Don't require kubectlManifestsPath in dns01 tests
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-23 16:27:27 +01:00
James Munnelly
17999cce46 Add ACME DNS01 test suite
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-18 15:05:06 +01:00