Commit Graph

5720 Commits

Author SHA1 Message Date
Inteon
21bc98979e
improved ux
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-16 13:11:40 +02:00
Inteon
ac7775bdb4
made errors human readable, added unit tests, added check api to e2e, fixed os.Exit(1)
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-15 16:50:31 +02:00
Inteon
5458173739
Add kubectl 'cert-manager check api' command
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-15 16:50:31 +02:00
jetstack-bot
6885bcafaf
Merge pull request #4149 from maelvls/refactor-ingress-shim
ingress-shim: untangle logic for "looking for cert owners"
2021-07-14 09:49:28 +01:00
jetstack-bot
c546f5bbd9
Merge pull request #4190 from inteon/helm_labels
Remove Helm-specific labels & add version label
2021-07-13 18:27:03 +01:00
Maël Valais
b13b751d63 PR review with Irbe: re-queue Ingress on "Update" and "Add" of certs
Signed-off-by: Maël Valais <mael@vls.dev>
Co-authored-by: Irbe Krumina <irbekrm@gmail.com>
2021-07-13 19:06:10 +02:00
jetstack-bot
3d54c7e6d2
Merge pull request #4206 from alrs/alrs-fix-acme-err
test/integration/acme: fix dropped error
2021-07-13 17:25:03 +01:00
Inteon
c7d92681b8
add comments
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-13 17:58:28 +02:00
jetstack-bot
e3ef37bb6a
Merge pull request #4208 from irbekrm/bump_go
Bump the version of Go SDK being downloaded
2021-07-13 16:24:03 +01:00
irbekrm
84419ba85f Bump the version of Go SDK being downloaded
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-13 14:58:51 +01:00
Inteon
0683738458
fix bug & add comment & cleanup
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-13 13:41:37 +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
771c46502a
Merge pull request #4204 from irbekrm/add_kind_target
Adds a make target to create a test cluster
2021-07-12 18:02:42 +01:00
irbekrm
57e3418a04 Make the error when a tool not found more obvious
Also ensure kind is installed before logs are exported

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-12 16:31:40 +01:00
Maël Valais
e12173b4c2 ingress-shim: unit-test certificateDeleted, only call on deletion
The func certificateDeleted was being called on every possible event
(deleted, created, updated).

Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-12 17:30:01 +02:00
Maël Valais
59051432e3 ingress-shim: remove unused issuer and clusterissuer listers
Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-12 17:26:58 +02:00
Maël Valais
c119b64fdf ingress-shim: I was syncing on Issuers instead of Ingresses
Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-12 17:26:50 +02:00
irbekrm
073f0dd2b8 Extract export_logs func to lib
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-12 15:43:57 +01:00
irbekrm
f7c2f11882 Adds a make target to create a test cluster
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-12 09:50:51 +01:00
irbekrm
017c5a1ff3 Refactors cluster creation in CI
So that the functionality can be re-used for other tests

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-12 09:38:49 +01:00
Inteon
043bbd283e
remove helm-specific labels & add version label
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-11 17:42:32 +02:00
jetstack-bot
4dfb5add86
Merge pull request #4182 from irbekrm/upgrade_test
Upgrade test
2021-07-11 13:45:01 +01:00
jetstack-bot
5bc790efa5
Merge pull request #4202 from inteon/go_mod_2
Update ginkgo and gomega versions
2021-07-10 22:54:44 +01:00
jetstack-bot
4c94111096
Merge pull request #4201 from inteon/go_mod
add -prune=true & go mod tidy to update-deps.sh
2021-07-10 22:13:44 +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
Inteon
cb6030f1d9
add -prune=true & go mod tidy to update-deps.sh
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-10 20:35:41 +02:00
jetstack-bot
d1b02cd452
Merge pull request #4200 from inteon/vscode_git_crash
Fix vscode crash
2021-07-10 19:24:44 +01:00
Inteon
492671507f
fix vscode crash
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-10 00:08:44 +02:00
Maël Valais
30ad33784d ingress-shim: remove unecessary/verbose comment
Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-09 18:27:08 +02:00
Maël Valais
1cb39d1efe ingress-shim: remove duplicate line
Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-09 17:43:01 +02:00
Maël Valais
0b12a5cf5f ingress-shim: explain why the owner ref does not have a namespace
Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-09 17:42:48 +02:00
irbekrm
f03b8daf1d Adds feedback from code review
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-08 10:17:37 +01:00
jetstack-bot
d1c7730e90
Merge pull request #4172 from irbekrm/restrict_api_versions
Restrict api versions
2021-07-08 09:39:59 +01:00
irbekrm
160e638c8f Explicitly set webhook match policy to Equivalent
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-08 08:16:48 +01:00
Maël Valais
75b9bd6598 ingress-shim: untangle logic for "looking for cert owners"
Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-07 13:27:30 +02:00
irbekrm
5a45444b4a Adds a make target
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-06 17:22:19 +01:00
irbekrm
1095e7f4c0 Adds an upgrade test
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-06 17:21:58 +01:00
irbekrm
62620f2c86 Adds ytt yaml interpolator to deps
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-06 17:20:21 +01:00
irbekrm
ca748f4288 Adds latest release tag to version vars
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-07-06 17:18:12 +01:00
jetstack-bot
38b1e79342
Merge pull request #4183 from inteon/upgrade_testing_tools
Upgrade all "hack" tools to the latest version
2021-07-06 17:14:27 +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
fa07da9302
upgrade all tools to the latest version
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-07-06 14:51:36 +02:00
jetstack-bot
a9c6bb9c37
Merge pull request #3963 from maelvls/fix-lint-issues
Static analysis tool party: fix my batch of linter warnings
2021-07-06 12:42:27 +01:00
Maël Valais
e218e12d77 rfc2136 dns01: "the algothrim" -> "algorithm is not supported"
Signed-off-by: Maël Valais <mael@vls.dev>
Co-authored-by: Ashley Davis <ashley.davis@jetstack.io>
2021-07-06 12:51:01 +02:00
Maël Valais
d31768f61e cloudflare dns01: consistent err prefix "while querying the Clouflare API..."
Signed-off-by: Maël Valais <mael@vls.dev>
Co-authored-by: Richard Wall <richard.wall@jetstack.io>
2021-07-06 12:51:01 +02:00
Maël Valais
26b074241a issuing controller test: check w.Register error
Signed-off-by: Maël Valais <mael@vls.dev>
Co-authored-by: Richard Wall <richard.wall@jetstack.io>
2021-07-06 12:51:01 +02:00
Maël Valais
b62e51dc2c validation: leftmost align and guard statements instead of 'switch'
The switch statement was making it a bit harder to read. I also renamed
variables to make more sense in the context of this function.

Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-06 12:51:01 +02:00
Maël Valais
d6d9aee9c7 linter party: ineffective 'break', commented "do nothing" instead
Signed-off-by: Maël Valais <mael@vls.dev>

Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-06 12:51:01 +02:00
Maël Valais
ee2f22acde linter party: receiver name should be omitted instead of _ (ST1006)
Signed-off-by: Maël Valais <mael@vls.dev>
2021-07-06 12:51:01 +02:00