joshvanl
4d40bdcd96
Fix tests after metrics comment changes.
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-12-07 07:42:27 +00:00
joshvanl
b4f2d4982b
Ensure clockTimeSecondsGauge is registered. Updates metrics integration
...
tests to include gauge clock metric
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-12-02 12:11:20 +00:00
irbekrm
06696befdb
Installs v1 ingress-nginx for e2e tests against kube 1.23
...
Also bumps the versions of ingress dependency used in tests
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-11-29 10:14:58 +00:00
Richard Wall
9e4d9bbf57
Update sha256 sum for Kyvernopre image
...
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-11-08 14:23:23 +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
jetstack-bot
5eabeb0020
Merge pull request #4520 from mcaci/lint
...
Remove t.Fatal from goroutine
2021-10-26 13:02:40 +01:00
jetstack-bot
f61d534975
Merge pull request #4550 from irbekrm/pprof
...
Pprof
2021-10-26 11:20:40 +01:00
irbekrm
7b6eeff457
Profiler address for controller can now be configured
...
Ensures that pprof is configured for controller in the same way as for cainjector
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-10-26 12:20:42 +03:00
James Munnelly
642cfb1b46
Fix misconfigured test/unit/discovery visibility rule
...
Signed-off-by: James Munnelly <jmunnelly@apple.com>
2021-10-21 12:31:28 +01:00
Michele Caci
ac4bf927c2
Remove t.Fatal from goroutine
...
Signed-off-by: Michele Caci <michele.caci@amadeus.com>
2021-10-19 12:53:46 +02:00
irbekrm
81bdabf67a
Code review feedback
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 17:23:42 +01:00
irbekrm
7319d3392a
Load kyverno image with Bazel
...
So that we don't pull the same image for each test run.
Also run helm install with --debug so that it outputs more information.
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:14:26 +01:00
irbekrm
8370b08bd3
Bumps Bazel deps and ingress-nginx test image version
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:14:05 +01:00
irbekrm
5ff6e2d789
Changes required to use envtest from controller-runtime v0.10
...
Environment.CRDs is now a slice of apiextensionsv1.CustomResourceDefinitions instead of client.Object https://github.com/kubernetes-sigs/controller-runtime/pull/1626#discussion_r684454763
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-30 10:13:29 +01:00
Richard Wall
481fc5e43a
Force the "served: true" in the CRDs when used in integration tests
...
These tests still need to create legacy API versions.
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-09-29 14:32:35 +01:00
jetstack-bot
898dc0e254
Merge pull request #4419 from artificial-aidan/master
...
Add Certificate RenewBefore prometheus metrics
2021-09-27 17:51:46 +01:00
Aidan Jensen
15d1ba96fe
Fix spelling error. Fix tests
...
Signed-off-by: Aidan Jensen <aidan@artificial.com>
2021-09-01 10:47:46 -07:00
jetstack-bot
2bdda7210d
Merge pull request #4407 from JoshVanL/ctl-factory
...
ctl factory
2021-09-01 18:30:11 +01:00
Aidan Jensen
3bd35642a7
Use status.renewalTime instead of renewBefore
...
Signed-off-by: Aidan Jensen <aidan@artificial.com>
2021-09-01 10:07:21 -07:00
jetstack-bot
aae24ba82d
Merge pull request #4338 from irbekrm/ginkgo_skip_focus
...
Ginkgo skip/focus can be optionally passed in from CI
2021-09-01 17:26:11 +01:00
irbekrm
66d8b85be8
Ginkgo skip/focus values can be optionally passed in from CI
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
Re-instate Venafi Cloud tests
They are now passing - we can see that for CertificateSigningRequest tests
Signed-off-by: irbekrm <irbekrm@gmail.com>
Don't skip Ginkgo tests marked as feature
We can instead define which tests to skip using GINKGO_FOCUS/GINKGO_SKIP to make skipping/focusing more obvious
Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-09-01 13:29:28 +01:00
Aidan Jensen
c6bc180f58
Add Certificate RenewBefore prometheus metrics
...
Signed-off-by: Aidan Jensen <aidan@artificial.com>
2021-08-30 10:52:21 -07:00
joshvanl
4cdbb64003
Update ctl integration tests to use new local factory package
...
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
2021-08-24 16:37:01 +01: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
jetstack-bot
9d1c6c9f09
Merge pull request #4347 from inteon/fix_install
...
Don't wait for hooks in kubectl cert-manager x install integration test (part 2)
2021-08-13 09:36:11 +02:00
Inteon
f4bc283965
update comments
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-12 22:54:14 +02:00
Inteon
91ec4c773a
use correct contexts everywhere & don't restart apiserver to add crds
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-12 20:05:01 +02:00
jetstack-bot
6f37d33c33
Merge pull request #4342 from inteon/fix_install
...
Don't wait for hooks in `kubectl cert-manager x install` integration test
2021-08-12 10:06:42 +02:00
Inteon
e5df60d47e
don't wait for hooks in kubectl cert-manager x install test & use local chart for tests
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-11 23:18:33 +02:00
Ashley Davis
d5da86fb45
re-enable venafi tests
...
Revert "Disable the TPP conformance tests"
This reverts commit cc0b6d4455 .
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2021-08-09 15:55:23 +01:00
Inteon
abc39053b2
resolve .Stop() failures
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-07 10:19:07 +02:00
Inteon
8ec405e823
fail if stop was not successful
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-07 00:17:02 +02: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
Inteon
a569e79776
cleanup test contexts
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-06 17:31:19 +02:00
Richard Wall
cc0b6d4455
Disable the TPP conformance tests
...
They can be run manually with /test pull-cert-manager-e2e-v1-20-feature-issuers-venafi-tpp
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2021-08-05 16:09:09 +01: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
1e89e9a55b
upgrade go.mod
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-04 00:49:07 +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
jetstack-bot
d647e543e3
Merge pull request #4276 from jakexks/gateway-http01
...
Experimental Gateway API support for ACME HTTP-01 Solving
2021-08-03 18:51:49 +01:00
Inteon
bfb11d279d
correctly print conditions during tests
...
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-03 16:54:00 +02:00
Jake Sanders
c2d7a98192
Remove PodTemplate from Gateway Solver, rename to GatewayHTTPRoute
...
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2021-08-03 14:26:45 +01:00
Jonathan Prates
c5e81b13f6
fix: labels cannot be shown if no labels were changed
...
Signed-off-by: jonathansp <jonathansimonprates@gmail.com>
2021-08-03 01:19:11 +01:00
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
Maël Valais
345ace666f
addons: add Traefik to be used for HTTP-01 HTTPRoute solving
...
Signed-off-by: Maël Valais <mael@vls.dev>
2021-08-02 17:17:44 +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