Commit Graph

612 Commits

Author SHA1 Message Date
jetstack-bot
404e8e0417
Merge pull request #4677 from irbekrm/tpp_e2e
Mark Venafi TPP [Cluster]Issuer tests with 'Venafi TPP'
2021-12-21 16:50:19 +00:00
irbekrm
7290892506 Mark Venafi TPP [Cluster]Issuer tests as TPP specific
So that in test logs they can be distinguished from Venafi Cloud tests

Signed-off-by: irbekrm <irbekrm@gmail.com>
2021-12-20 10:07:07 +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
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
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
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
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
ef31a2ea08
cleanup & better error debug printing
Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
2021-08-06 17:31:58 +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
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
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
89bf0022d6 changes from pair programming sesh
Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
2021-08-02 16:22:51 +05:30
jetstack-bot
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
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
jetstack-bot
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
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
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 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